in reply to I need help with templates
You are attempting to execute your Perl script from the htdocs hierarchy -- it needs to be executed from a cgi mapped directory.
Check your webserver error log for more details.
*My* tenacity goes to eleven...
In Section
Seekers of Perl Wisdom