Hi Will,
Yes, I put all of my templates in a subdirectory. You can set
$ENV{'HTML_TEMPLATE_ROOT'} to the name of the subdirectory, and then just do
$template = HTML::Template->new( filename => 'filename.tmpl' ) ;
and H::T will look for $ENV{'HTML_TEMPLATE_ROOT'}/filename.tmpl
Hope this helps,
Kenny Smith
JournalScape.com
> Greets Folks,
>
> Does anyone here place their .tmpl files in a special
> directory assigned just for templates, like maybe:
>
> /cgi-bin/templates
>
> I was thinking of doing this for organizational
> purposes, but I wasn't sure of what problems I might
> run into, or what path I would have to use in the CGI
> programs, etc...
>
> Any advice appreciated.
>
> Thanks,
>
> Will
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users