Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    use Data::Dumper;
    print Dumper \%spair;
    
  2. or download this
    $VAR1 = {
              '1-1' => 17, # 3+3+11
              '2-2' => 38, # 2+36
              '1-2' => 402 # (3*2)+(11*36), this is correct already
            };
    
  3. or download this
    $VAR1 = {
              '1-1' => 3,  #wrong
              '2-2' => 2,  #wrong
              '1-2' => 402 #correct
            };