I'm new to the HTML::Template module as well, but from what I can see, it beats the pants off using print <<eoh Just out of curiosity (and maybe for the sake of the list) did your problem have to do with the syntax of the <TMPL_VAR> tag? I don't think you are suppose to use a name attribute, I think you just put the name of the parameter in the tag.

<TMPL_VAR SECRET_MESSAGE> instead of <TMPL_VAR NAME=SECRET_MESSAGE>

Don't be embarrassed - in three days nobody on this list figured it out!

-Derrick


On Friday, Jan 17, 2003, at 09:03 US/Eastern, Hughes, Andrew wrote:

Actually, I am sort of embarrassed (and proud) to say that I figured out
that one late last night. It works now.

Thanks for all of your help ... and patience as usual.

Andrew

-----Original Message-----
From: fliptop [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 8:15 AM
To: Hughes, Andrew
Cc: '[EMAIL PROTECTED]'
Subject: RE: cgi.pm generate html vs. print <<EndOfHTML;


On Thu, 16 Jan 2003 at 16:32, Hughes, Andrew opined:

HA:I am pointing to the results.tmpl file which is in the same folder as the
HA:the .pl script. I found another test script on the web on another
website,
HA:and I have the same problem -- the tags are not replaced with the
HA:information in the script. Could it be a permission issues on the .tmpl
HA:file or the .pl file?

you need to point to the perl script, not the template file.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to