in reply to
Basic 'while' loop problem
Or, instead of using chomp, you can do:
s/[\r\n]+$//;
[download]
Comment on
Re: Basic 'while' loop problem
Download
Code
In Section
Seekers of Perl Wisdom