Help for this page

Select Code to Download


  1. or download this
    my %h;
    
    ...; # get info from db
    
    $h{$total} += $revenue;
    
  2. or download this
    use warnings;
    use strict;
    ...
    5 19
    17 8
    45 -1
    
  3. or download this
    $VAR1 = {
              '5' => 19,
    ...
              '4' => 962,
              '17' => 8
            };