Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Textarea boxes in CGI

by arthas (Hermit)
on Jun 17, 2003 at 19:02 UTC ( [id://266598]=note: print w/replies, xml ) Need Help??


in reply to Textarea boxes in CGI

I'm unsure, but it might depend on the browser and on the platform where it runs. Anyhow, you can just do:

$textareacontent =~ s/\r//g;

This should only leave you with newlines, which is always a good idea I think (if the server is Unix-style ;)).

Michele.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-20 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found