in reply to Skip return values
If you return array reference like my $arr=[1,2,3,4]; return $arr. Then you can achieve what you expect as follows
my $c=@{&sample}[2];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Skip return values
by AnomalousMonk (Archbishop) on Apr 03, 2009 at 07:21 UTC | |
by codeacrobat (Chaplain) on Apr 03, 2009 at 14:22 UTC |