Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Need help on hashes.

by cdarke (Prior)
on Feb 04, 2008 at 09:08 UTC ( #665922=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "US"    $countries{"US"}
    "DE"    $countries{"DE"}
    "RU"    $countries{"RU"}
    "UK"    $countries{"UK"}
    "FR"    $countries{"FR"}
    
  2. or download this
    my %countries;
    while (<DB>){
    ...
    for (reverse sort { $countries{$a} <=> $countries{$b} } keys %countrie
    +s){
        print "$_\t$countries{$_}\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-09-21 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (270 votes). Check out past polls.

    Notices?