You can do that as follows
my $c=(&sample)[2]; print $c;
The great pleasure in my life is doing what people say you cannot do.
In reply to Re: Skip return values
by lakshmananindia
in thread Skip return values
by jonam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |