in reply to Re: Skip return values
in thread Skip return values
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Skip return values
by codeacrobat (Chaplain) on Apr 03, 2009 at 14:22 UTC |