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

Re: Re: \n won't work?!

by Trimbach (Curate)
on Dec 30, 2002 at 04:25 UTC ( #222995=note: print w/replies, xml ) Need Help??


in reply to Re: \n won't work?!
in thread \n won't work?!

If beautifying your HTML source is your goal, don't worry about adding \n's to your CGI.pm output... just slap a
use CGI::Pretty;
at the top of your program and let the CGI::Pretty module automagically do it for you. Laziness is a virtue. :-)

Gary Blackburn
Trained Killer

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-10-27 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (94 votes). Check out past polls.

    Notices?