Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $val; $val = &func[1]; print $val; sub func { qw ( just some list ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: index into list returned by subroutine
by diotalevi (Canon) on Jun 09, 2004 at 20:31 UTC | |
|
Re: index into list returned by subroutine
by herveus (Prior) on Jun 09, 2004 at 20:33 UTC | |
|
Re: index into list returned by subroutine
by Fletch (Bishop) on Jun 09, 2004 at 20:31 UTC | |
|
Re: index into list returned by subroutine
by Roy Johnson (Monsignor) on Jun 09, 2004 at 20:42 UTC |