Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Newlines in textarea w/ CGI.pmby smitz (Chaplain) |
on Nov 18, 2001 at 22:46 UTC ( [id://126147]=perlquestion: print w/replies, xml ) | Need Help?? |
smitz has asked for the wisdom of the Perl Monks concerning the following question:
So I've got a <INPUT type="textarea" name="message">. However, when I use CGI to retrieve the contents, all the newlines (%0A%0D) have turned into spaces??? I've tried s/space/newline/g, but this cant differentiate between real spaces and newline-space conversions. Any ideas? Thanks Monks.
Back to
Seekers of Perl Wisdom
|
|