I can't understand what can be the problem with the code..
see chomp , not exactly easy to see at a glance what the return value is , you'll have to read that prose or employ tricks :)
$ perldoc -f chomp |ack return -A1 $INPUT_RECORD_SEPARATOR in the "English" module). It retur +ns the total number of characters removed from all its arguments. + It's -- number of characters removed is returned.
In reply to Re^7: Use of "my" after Perl v5.14
by Anonymous Monk
in thread Use of "my" after Perl v5.14
by Rohit Jain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |