Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Out of memory error for very small hash

by Anonymous Monk
on Sep 14, 2012 at 01:48 UTC ( #993616=note: print w/replies, xml ) Need Help??


in reply to Out of memory error for very small hash

Put a sample of code in code-tags ... see "Markup in the Monastery" for details.
  • Comment on Re: Out of memory error for very small hash

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993616]
help
Chatterbox?
[thepkd]: Hi, in trying to create an Array of Hash of Array of Hash. You read it right. Is it possible to dereference it without using temps?
[GotToBTru]: what are temps?
[GotToBTru]: you can always have ${${${$array[0]}{ key1}}[1]}{key2}
[GotToBTru]: I think I have that inside out .. but you get the point
[choroba]: $array[0]{key1}[1] {key2}
[thepkd]: ??
[GotToBTru]: I would think temporary variables would help in making the real life meaning of your structure clear
[choroba]: the problems start when you want to "skip a level", i.e. the arrays for all the keys
[LanX]: what are temps?
[moritz]: oh, the question was about creation, not indexing

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













    Results (104 votes). Check out past polls.