hotshot has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys !
Is there a short way to get the x entry of an array returned from a function?
example:
Hotshot
Is there a short way to get the x entry of an array returned from a function?
example:
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
Hotshot
Back to
Seekers of Perl Wisdom