http://qs1969.pair.com?node_id=266598


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.