>>>>> "jay" == jay  <[EMAIL PROTECTED]> writes:

jay> I have elected to use the OUTPUT configuration directive at time
jay> that
jay> I create my template object:

jay> # our $varinquestion;

jay> sub init {

jay>    my $config = {
jay>    OUTPUT => \%myoutput_handler,

        OUTPUT => sub { \&myoutput_handler(@_, $varinquestion) },

jay>    };

jay>    return Template->new($config);

jay> };

Still no need to patch the core.


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to