Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

RE: Re: Return?

by ChuckularOne (Prior)
on Apr 15, 2000 at 19:58 UTC ( #7718=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7718]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-11-28 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?