Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: Re: Return?

by ChuckularOne (Prior)
on Apr 15, 2000 at 19:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-29 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found