Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 taking refuge in the Monastery: (18)
As of 2014-09-30 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (378 votes), past polls