If you install the templates in a directory relative to the directory containing your module then you can use %INC to get the path:
use warnings; use strict; use Foo; (my $fooDir = $INC{'Foo.pm'}) =~ s/Foo\.pm$//; my $tmplDir = "${fooDir}Templates";
In reply to Re: Distributing/Accessing Template::Toolkit Templates
by GrandFather
in thread Distributing/Accessing Template::Toolkit Templates
by three18ti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |