Hi,

I would like to modify some of the template configuration options after the TT object is created. For example, I'd like to change the WRAPPER setting "midstream" without having to recreate the TT object. As far as I can tell, the WRAPPER setting must be passed to the constructor. Is there already a way to do this?

my $tt = Template->new({
WRAPPER         => 'wrapper1.tt',
INCLUDE_PATH    => '/mydir',       });


# maybe do something like this
$tt->wrapper( 'new_wrapper.tt' );

or

$tt->set_wrapper( 'new_wrapper.tt' );



Thanks,
Tim

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to