chop is going to truncate your data if you don't have a \n on the last line.
Are you sure that you'll be getting \n after every line ever?
In reply to Re^2: While loop conditions in Perl
by Anonymous Monk
in thread While loop conditions in Perl
by joemaniaci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |