hotshot has asked for the wisdom of the Perl Monks concerning the following question:
anyone?# if I have the function myFunc() that returns an list # I would like to get somehow the 5 element of the list returned: $elem = myFunc()[5]; # of course that doesn't work
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: list returned from function
by japhy (Canon) on Jan 17, 2002 at 21:12 UTC | |
by count0 (Friar) on Jan 17, 2002 at 21:28 UTC | |
Re: list returned from function
by George_Sherston (Vicar) on Jan 18, 2002 at 02:43 UTC | |
by PrakashK (Pilgrim) on Jan 18, 2002 at 03:34 UTC | |
Re: list returned from function
by theorbtwo (Prior) on Jan 18, 2002 at 07:04 UTC | |
Re: list returned from function
by vagnerr (Prior) on Jan 18, 2002 at 01:35 UTC | |
Re: list returned from function
by thunders (Priest) on Jan 18, 2002 at 20:37 UTC | |
Re: list returned from function
by Steve_p (Priest) on Jan 19, 2002 at 02:25 UTC |