Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Opening text files with CR format

by moritz (Cardinal)
on Aug 03, 2009 at 12:13 UTC ( [id://785423]=note: print w/replies, xml ) Need Help??


in reply to Opening text files with CR format

You can set $/ to "\r", then perl will read lines separated by CR instead.

See also: perlvar, perlport

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found