|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: using function output ananymous array vs. named array in foreachby Anonymous Monk |
| on Dec 26, 2012 at 11:12 UTC ( #1010359=note: print w/ replies, xml ) | Need Help?? |
|
There is no analytical answer to be had, one may use more memory, or both may use the same memory, and it may depend on perl version, the only way to know is to test, or read the source code -- see Mini-Tutorial: Perl's Memory Management
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||