Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by blazar (Canon)
on Nov 12, 2008 at 13:31 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2022-01-21 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?