in reply to Re^2: Problem with <STDIN>
in thread Problem with <STDIN>

It's not that chop fails, as it removes the last character regardless of what that character is. You could interpret that to mean that chop "fails to DWIM", but it hasn't failed, just not met the programmer's expectations.


DWIM is Perl's answer to Gödel