Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

(jcwren) Re: Problem displaying text with CGI

by jcwren (Prior)
on Jun 11, 2000 at 02:13 UTC ( [id://17547]=note: print w/replies, xml ) Need Help??


in reply to Problem displaying text with CGI

$comment =~ s/(\r\n|\n\r)/<BR>/g; $comment =~ s/(\n|\r)/<BR>/g;
will catch the fact that not all systems handle CR/LF pairs the same.

--Chris

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found