http://www.perlmonks.org?node_id=637978


in reply to Re: Template Toolkit install path
in thread Template Toolkit install path

I think you hit the nail on the head. This sounds to be *exactly* what I'm looking for. I found this on problems File::ShareDir solves. Another method is to put the data "file" after the __DATA__ compiler tag and limit yourself to access as a filehandle. Right inside of File::ShareDir. Thanks a ton.


Evan Carroll
www.EvanCarroll.com

Replies are listed 'Best First'.
Re^3: Template Toolkit install path
by LTjake (Prior) on Sep 10, 2007 at 13:44 UTC

    Might I also suggest my own Template::Provider::FromDATA which will give you exactly that functionality.

    --
    "Go up to the next female stranger you see and tell her that her "body is a wonderland."
    My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
    " (src)