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

Re: Increasing key/values held in a Hash from an Array

by xdg (Monsignor)
on Mar 17, 2006 at 21:33 UTC ( [id://537588]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    print map { "$count{$_}: $_\n" } @lines;
    
  2. or download this
    3: alpha comes before beta and gamma, but not alphabet
    4: beta comes after alpha; beta comes before gamma
    1: gamma is the last word
    

Log In?
Username:
Password:

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

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

    No recent polls found