Re: [htmltmpl] Unable to find ".tmpl" @INC (mod_perl)
Brought to you by:
samtregar
From: Gerard t. H. <g.t...@pu...> - 2003-05-26 05:21:38
|
Hello Sasi, You could specify the path to the template location at the HTML::Template object creation: my $template = HTML::Template->new( filename => "$tmplfile", path => "$tmplpath" ); kind regards, gerard > Thanks a lot for the help and sugestion kishore. > > I have never posted any thing before. > > My problem is that i was able to make use of > HTML::Template and seperate HTML from Perl code. > > But when i execute the same code which was working > with in cgi-bin directory did not work in mod_perl > enabled directory. > > It says that UNABLE to load ".tmpl" @INC > > I copied the ".tmpl" file to /usr/lib/perl5/ and also > tried to include the path using lib qw(/perl/) but was > unable to get the code working |