http://qs321.pair.com?node_id=74000


in reply to Re: Sub cannot return an array?
in thread Dereference an array reference

Great! Very helpful. So if I have this right, the list/scalar context provided by the context in which the sub is called is being applied inside the subroutine at the point that the return expression (whether specified with a 'return' or not) is being evaluated. (Not applied to the result of the sub after it springs to life at the point the sub is called.) Yes?