in reply to (jeffa) 3Re: Returning data from wrapped sub
in thread Returning data from wrapped sub

That does not answer his question. If the return value of a function call is being stored in a list, the function is called in "array" context.
@x = func() ; # list context ($x) = func() ; # list context $x = (func())[1]; # list context
Read my article on lists.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;