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
|