Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by jethro (Monsignor)
on Feb 23, 2012 at 14:04 UTC ( #955737=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

Basically you want to give each pattern a specific id, right?

So why don't you use a second hash that gives you the position in @perm for each pattern. Since @perm is fixed this hash is generated once and then available for the rest of the scripts runtime


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2015-07-02 17:14 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 (44 votes), past polls