Help for this page

Select Code to Download


  1. or download this
    for my $key (sort {$hash{$a} <=> $hash{$b}} keys %hash) {
        print "$key: $hash{$key}\n";
    }
    
  2. or download this
    print "$_: $hash{$_}\n" for sort {$hash{$a} <=> $hash{$b}} keys %hash;