Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: (jeffa) Re: CGI versus CGI::* modules

by Willard B. Trophy (Hermit)
on Aug 01, 2003 at 13:43 UTC ( #279958=note: print w/replies, xml ) Need Help??

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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279958]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-05-08 14:22 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (96 votes). Check out past polls.