Perl-Sensitive Sunglasses | |
PerlMonks |
RE: RE: HTML with CGI.pmby athomason (Curate) |
on Jul 22, 2000 at 00:36 UTC ( [id://23828]=note: print w/replies, xml ) | Need Help?? |
Replace use CGI; with use CGI::Pretty; and you'll get HTML much more readable and compatible than you probably could code yourself, indented and all. You can also customize which tags it linebreaks on to prevent bad (read: all) browsers from incorrectly interpreting whitespace, which mainly happens in tables.
In Section
Seekers of Perl Wisdom
|
|