BTW: The &sample form of subroutine invocation is deprecated.>perl -wMstrict -le "sub sample { return [1, 2, 3, 4]; } my $c = sample()->[2]; print $c; " 3
In reply to Re^2: Skip return values
by AnomalousMonk
in thread Skip return values
by jonam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |