Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Reading in a file not recognizing lines

by ioannis (Priest)
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' ;
;


Comment on Re: Reading in a file not recognizing lines
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2014-09-30 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (381 votes), past polls