Keep It Simple, Stupid | |
PerlMonks |
Re: Unix and Windows CRLF vs LFby Burak (Chaplain) |
on May 13, 2009 at 06:02 UTC ( [id://763675]=note: print w/replies, xml ) | Need Help?? |
Using foreach on the FH is not efficient. Use while instead. And perl will automatically convert the line ending AFAIK. Try to use chomp:
In Section
Seekers of Perl Wisdom
|
|