Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2016-12-08 03:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (134 votes). Check out past polls.