in reply to Re: Re: HTML::Template, CGI, passing variables, launching new script
in thread HTML::Template, CGI, passing variables, launching new script
This is a good time/place to learn some basic debugging skills. Start with the line number given in the error. Then trace back to the cause of the problem. In your case you'll start with a var ($parm) that gets set in a loop, that comes from a hard coded array that has to match the text in the HTML. Fix one or the other.
Other helpful advice: Limit the information in your posts. The long, long listing of the template doesn't really help. Don't include templates unless the problem directly relates to the template. Even if you had to ask for help with a template, don't show us all the HMTL blah,blah,blah. Make a simple version for posting/testing that include the absolute minimum needed stuff. Like this:
<html> <body> <!-- my_var --> </html> </body>
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
|
|---|