Help for this page

Select Code to Download


  1. or download this
    my %hash = ( a=>0, b=>1, c=>0, d=>3 );
    foreach my $k ( sort { $hash{$a} <=> $hash{$b} or $a cmp $b } keys %ha
    +sh  ) {
        print "$k = $hash{$k}\n";
    }
    
  2. or download this
    a = 0
    c = 0
    b = 1
    d = 3