Help for this page

Select Code to Download


  1. or download this
         sort keys %hash;
    
  2. or download this
         @keys = sort{$hash{$b} <=> $hash{$a}} keys %hash;
    
  3. or download this
         tie %clients, 'Tie::SortHash', \%clients, $sortblock;
    
         my $sortblock = q(my $c = (split /\s+/, $a)[1];
         my $d = (split /\s+/, $b)[1];
         $c cmp $d || $clients{$a} <=> $clients{$b});
    
  4. or download this
         print $q->scrolling_list(-name=>'acct_num', 
                                  -values=> [keys %clients], 
                                  -labels=> \%clients);