Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Anonymous Monk
on Dec 26, 2012 at 11:12 UTC ( #1010359=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re: using function output ananymous array vs. named array in foreach

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010359]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-07-26 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls