in reply to Re^3: Chomp(<handle>)
in thread Chomp(<handle>)

In the second case, it complains about modifying the results of reading from a file handle.

Care to place a small wager on that? I could be wrong. You might make a buck.