in reply to Re: do-while loop never exits
in thread do-while loop never exits

...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...

Replies are listed 'Best First'.
Re^3: do-while loop never exits
by raybies (Chaplain) on Apr 19, 2011 at 13:23 UTC
    /me hangs his head in shame.