Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
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 chanting in the Monastery: (9)
As of 2019-06-25 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (105 votes). Check out past polls.

    Notices?