UPDATE: docs say also It returns the total number of characters removed from all its arguments. but i see another thing:
What is that?
$ perl -MData::Dump -e " $g=$f=qq{a\n}; dd( chomp( $f, $g ) ) ; dd( $ +f, $g )" 2 ("a", "a")
In reply to Re^2: Assigning the result of a chomp to the chomped var itself.
by Anonymous Monk
in thread Assigning the result of a chomp to the chomped var itself.
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |