Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: initializing multiple arrays

by Laurent_R (Parson)
on May 30, 2014 at 18:56 UTC ( #1088054=note: print w/ replies, xml ) Need Help??


in reply to initializing multiple arrays

I don't really understand what you are trying to do (partly because you did not say what the content of $array_references[0], $array_references[1], etc. is), but very clearly, I can see that you most probably need another level of indirection. Or, in other words, you probably want to use an array of arrays (AoA) or some more deeply nested structure (perhaps an AoAoA). But you should probably tell us what you are storing in your data structure, rather than telling is how you are thinking to do it now.


Comment on Re: initializing multiple arrays
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-12-28 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls