Help for this page

Select Code to Download


  1. or download this
      $balances{$cust} += $bal * $fx_rates->{$ccy};
    
  2. or download this
      my @sorted_cust_list = 
        reverse map {$_->[0]} sort {$a->[1]<=>$b->[1]}
        map{[$_,$balances{$_}]}keys %balances;
    
  3. or download this
      while ( my($cust,$balance) = each %balances ) {
          ...
      }