Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Allocation of anonymous arrays

by sundialsvc4 (Abbot)
on Feb 07, 2014 at 17:11 UTC ( #1073905=note: print w/replies, xml ) Need Help??

in reply to Allocation of anonymous arrays

Even though, sometimes, the value that is the “total key to” a particular value, suitable for use in a hash-key that singularly leads to one value ... it might be almost-as-well to formulate a hash-key that potentially leads to a list of values, through which (an appropriate accessor-method) will have to search.   A well-made accessor makes it easy / invisible.   For that matter, you could have several hashrefs and multiple references.   Basically, like what you have with the indexes that point into a DB table.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1073905]
[GotToBTru]: ugh. Thanks Corion
[shmem]: meh. setting up a SIG{__DIE__} before loading Net::SSLeay still triggers Can't locate object method "tid" via package "threads" at /usr/share/perl/5. 20/
[choroba]: setting in a BEGIN block?
[shmem]: choroba, yes

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-07-26 15:11 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (396 votes). Check out past polls.