Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Template toolkit INCLUDE_PATH question

by Anonymous Monk
on Aug 17, 2005 at 18:17 UTC ( #484504=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

What template syntax can I use to output TT2 configuration in my template? I would like to get my template to show me INCLUDE_PATH. Thanks for any help.

Replies are listed 'Best First'.
Re: Template toolkit INCLUDE_PATH question
by tomhukins (Curate) on Aug 19, 2005 at 10:52 UTC

    Interesting question! I can't answer it, but this reply might help point you in the right direction.

    Template::Provider's paths method will return what you want, but I don't know how to retrieve the appropriate provider object(s) from a Template object.

    $template->service returns the Template::Service object; $template->service->context returns the Temmplate::Context object. I can't figure out how to get the providers, though.

    You might get a more helpful response from asking the TT mailing list.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://484504]
Approved by planetscape
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2021-11-29 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?