http://www.perlmonks.org?node_id=1010473


in reply to Re: using function output ananymous array vs. named array in foreach
in thread using function output ananymous array vs. named array in foreach

You are probably right, but I can't touch foo at the moment... It stands for a number of objects' methods that I cannot change. I am given this deck of cards, and deal with it... I guess that for the sake of simplicity, brevity (and less duration of memory footprint), I'll use the anonymous array method.