Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: counting instances of one array in another array

by jandrew (Hermit)
on Feb 23, 2012 at 17:07 UTC ( #955779=note: print w/ replies, xml ) Need Help??


in reply to Re^2: counting instances of one array in another array
in thread counting instances of one array in another array

jsmagnuson Any chance that Math::Fleximal will allow you to treat your range of possible combinations as a number sequence and do math on the key to find the position? I like the hash-key solution and treating the keys as fleximals may solve your position question without building a full array of possibilites.


Comment on Re^3: counting instances of one array in another array
Re^4: counting instances of one array in another array
by jandrew (Hermit) on Feb 23, 2012 at 17:52 UTC
    For example

    Update: key value look-up was wrong - fixed

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-12-25 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (160 votes), past polls