Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Quick and portable way to determine line-ending string?

by mdillon (Priest)
on Aug 09, 2001 at 03:34 UTC ( #103284=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @lines = split m#$/#, $content;
  2. or download this
    my @lines = split m#\x0d\x0a?|\x0a#, $content;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2014-09-22 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls