Which prints as expected:sub foo {chop @_}; my @a = ('ab', 'cd', 'ef'); print foo(@a), "\n";; my $b = 'abcdef'; print foo($b), "\n";
f f
In reply to Re: ttchop()/tt and list assignments
by dvergin
in thread chop() and list assignments
by converter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |