Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: problem with 'bare LF' in script

by blazar (Canon)
on Nov 12, 2008 at 13:31 UTC ( [id://723143]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $__to =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
        $__cc =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
    ...
        $__xpriority =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
        $__x_ms_priority =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
        $_mail_Message =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
    
  2. or download this
    s{ \n\r | \r | \n }{\r\n}gx for
        $__to,
    ...
        $__xpriority,
        $__x_ms_priority,
        $_mail_Message;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found