Perl: the Markov chain saw | |
PerlMonks |
Finding the dirpath of a template (Template::Toolkit)by alien_life_form (Pilgrim) |
on Jan 23, 2004 at 12:46 UTC ( [id://323538]=perlquestion: print w/replies, xml ) | Need Help?? |
alien_life_form has asked for the wisdom of the Perl Monks concerning the following question:
Greetings, I need to find the absolute path of the directory containing the file curently being processed (by Template::Toolkit) if at all possible from within the template. I tried the File and Dir plugins, to no avail. (USE File('.'); File.cwd() gives the cwd of the script, NOT the template). Ideas anybody? What am I missing?
Cheers, alf You can't have everything: where would you put it?
Back to
Seekers of Perl Wisdom
|
|