Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Textarea boxes in CGI

by arthas (Hermit)
on Jun 17, 2003 at 19:02 UTC ( #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? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-08-17 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?