in reply to (jeffa) Re: CGI versus CGI::* modules
in thread CGI versus CGI::* modules

My only complaint about HTML::Template is that its templates break validators/reformatters such as HTML Tidy.

Nothing would make me happier than to be proved wrong on this, though ...
(yeah, I'm an old SGML type. Things that don't validate worry me.)

Update, Aug 5: In an attempt to prevent further XP slide, I have to admit that I hadn't RTFM quite thoroughly enough before posting. In addition to the method given by mbadolato below, there's also the vanguard_compatibility_mode option, which allows you to code simple variables as %NAME%.

bowling trophy thieves, die!

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: CGI versus CGI::* modules
by mbadolato (Hermit) on Aug 01, 2003 at 14:59 UTC
    If you put your template tags in as <!-- TMPL_VAR NAME="foo" --> instead of <TMPL_VAR NAME="foo" > then you shouldn't have any issue with validators or html tidy, I would think. Is that not the case?