Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Reading in a file not recognizing lines

by ioannis (Monsignor)
on May 22, 2006 at 02:31 UTC ( #550850=note: print w/replies, xml ) Need Help??


in reply to Reading in a file not recognizing lines

Or use the PerlIO layer. The code bellow is fof MS-DOS files, not sure if a layer exists for OSX.
use PerlIO ; open F, '<:crlf', 'data' ;
;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550850]
help
Chatterbox?
[chacham]: I'm sure this is old, but i just came across it: If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.
[LanX]: lol
[Corion]: Woo hoo! A new Auralnauts episode!
LanX mean unfair and funny
[LanX]: but most java code looks like from one million monkey using eclipse. ..
[Eily]: ah yes, perl's motto, There Is More Than One Monkey Typing It

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2018-04-23 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?