Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by MidLifeXis (Monsignor)
on Feb 24, 2012 at 13:53 UTC ( [id://955924]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub charlist2alphabet {
        my %results;
    ...
    }
    
    my $alphabet = charlist2alphabet( @charlist );
    
  2. or download this
    my $alphabet = { map { ( $charlist[ $_ ] => $_ ) } ( 0 .. @charlist - 
    +1 );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-20 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found