my $template = HTML::Template->new( filename => 'nc_mainmenu.tmpl', ...
So either change those to be absolute (/path/to/nc_mainmenu.tmpl) or copy the templates to the directory you're executing the offline script from or check the webserver configuration to see if HTML_TEMPLATE_ROOT is set to something - if so, set your offline environment to have that same variable.
-derby
In reply to Re: Re: Re: How do I run .pl script from Unix command line, and pass CGI variables to it?
by derby
in thread How do I run .pl script from Unix command line, and pass CGI variables to it?
by Lori713
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |