Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (8)
As of 2015-07-06 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls