Just another Perl shrine | |
PerlMonks |
Re: different length of a line from linux and windows textfile?by LanX (Saint) |
on Mar 17, 2014 at 14:45 UTC ( [id://1078610]=note: print w/replies, xml ) | Need Help?? |
Most probably a problem with trailing newlines. Try to chomp your input $line.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|