Help for this page

Select Code to Download


  1. or download this
    sub inithash {
        my $h= shift;
    ...
        %$h= ( 'a'=>0, ... ); #alternative to the previous line
        }
    
  2. or download this
    >perl -wMstrict -le
    "use Data::Dumper;
    ...
              'a' => '1',
              'b' => '2'
            };