Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 wandering the Monastery: (7)
As of 2014-07-30 23:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls