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


in reply to Template Toolkit install path

Would Module::Install::Share and File::ShareDir help?

--
"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)

Replies are listed 'Best First'.
Re^2: Template Toolkit install path
by EvanCarroll (Chaplain) on Sep 10, 2007 at 02:48 UTC
    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

      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)