Fred Condo wrote:
I've just begun using HTML::Template, and have run into the issue that
the first line of the simplest template gets unconditionally deleted.
I noticed this when my DOCTYPE got mangled in the output. Adding a
newline at the top of the file, naturally, fixes this.

Is this a known bug? I searched the mailing list archive, the buglist,
and the discussions, but saw no mention of it. I'm hoping someone will
go "aha, it's that..."

Thanks.


Is it possible that line is composed of a variable that isn't defined in your Perl file?
In HTML::Template, if you use a variable and that variable is then not defined in the Perl file, your output file will simply have a blank where that variable was. This is a feature, not a bug :-)
Look for a typo or something similiar...


--
Offer Kaye


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to