Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Template Toolkit Root Permission

by bms (Monk)
on Mar 24, 2012 at 17:59 UTC ( #961428=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Template Toolkit Root Permission
in thread Template Toolkit Root Permission

If you check the Template Toolkit manual, you'll notice:

Multiple templates may be specified as a reference to a list. Each is processed in the order defined.

my $template = Template->new({ PRE_PROCESS => [ 'config', 'header' ], POST_PROCESS => 'footer', };

and

Alternately, multiple template may be specified as a single string, delimited by ':'. This delimiter string can be changed via the DELIMITER option.

my $template = Template->new({ PRE_PROCESS => 'config:header', POST_PROCESS => 'footer', };

So, judging by your issue and the way that you have set multiple PRE_PROCESS templates, I think this will fix your problem.


Comment on Re^3: Template Toolkit Root Permission
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2015-07-06 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls