--- Curtis Poe <[EMAIL PROTECTED]> wrote: > 2. CGI::Pretty only works with the HTML generating features of CGI.pm. If you >don't use those, > get no benefit. > > Compare this: > > $ perl -e 'print q|<head><body><h1>test</h1></body></head>|' > <head><body><h1>test</h1></body></head>
For the record, I'm a moron :) That snippet should have been: $ perl -MCGI::Pretty=:standard -e 'print q|<head><body><h1>test</h1></body></head>|' <head><body><h1>test</h1></body></head> Cheers, Curtis "Ovid" Poe ===== "Ovid" on http://www.perlmonks.org/ Someone asked me how to count to 10 in Perl: push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//; shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]