in reply to
Re^3: While loop conditions in Perl
in thread
While loop conditions in Perl
I believe you have probably encountered line feeds followed by new lines ( \r\n ). In this case, just adjust the input record separator ( local $/ = "\r\n"; )
Comment on
Re^4: While loop conditions in Perl
In Section
Seekers of Perl Wisdom