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


in reply to Re: Return?
in thread Return?

Wouldn't:
$message =~ s/\r|\n//g;
do the same thing as:
$message =~ s/\r\n|\n\r//g;

Your humble servant
-Chuck

Replies are listed 'Best First'.
RE: RE: Re: Return?
by kryten (Scribe) on Apr 18, 2000 at 18:32 UTC
    No it wont, The first one will blow away any newline or carrige return in the text
    The second will only remove cr/lf pairs.