in reply to Re: Assigning the result of a chomp to the chomped var itself.
in thread Assigning the result of a chomp to the chomped var itself.

Just felt is should share my findings.

When i ran the code in Perl version 5.16.1 developed by activestate i got the following results.

$x = 0   $y = 1  $z = 0