...line terminator set to solely '\n', which would cause it to never quit.
The PerlIO layer ":crlf" (which is active on Windows by default) translates \r\n to \n, so the chomp with the subsequent eq test would work fine...
In reply to Re^2: do-while loop never exits
by Eliya
in thread do-while loop never exits
by IvyR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |