in reply to fixing what textareas do to input
Perhaps:
$data =~ s/(\r\n|\n\r|\r)/\n/g
This converts CR's, LF's, and any combination of the two
into a single newline (I hope... haven't tested it).
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: fixing what textareas do to input
by antihec (Sexton) on Jun 05, 2000 at 14:27 UTC | |
RE: Re: fixing what textareas do to input
by mcwee (Pilgrim) on Jun 06, 2000 at 00:40 UTC |
In Section
Seekers of Perl Wisdom