I have a huge text file with Unix line endings that I want to process 
line by line with something like:
while (<>) {...}

As MacPerl doesn't recognize Unix line endings it think the file is 
just one big line...
Any suggestions?

I know I can read in blocks of data and preprocess into Mac endings 
of course, but maybe there is something more elegant way? Some 
variable defining the line ending?

-- 
/Peder Axensten
Phone: +46-90-32344 (home), +46-90-786.7719 (work)
Fax:   +46-90-786.5121 (work)

Reply via email to