Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
      print "\nin sub: " . Dumper (\%hash);
      return {%hash};
    }
    
  2. or download this
    Original hash: $VAR1 = {
              'first' => {
    ...
                            '2' => 'second 2'
                          }
            };
    
  3. or download this
    use warnings;
    use strict;
    ...
      my (%hash) = @_;
      return %hash;
    }
    
  4. or download this
    Can't use string ("2/8") as a HASH ref while "strict refs" in use at C
    +:\Documents and Settings\Peter.WINDOMAIN\My Documents\PerlMonks\nonam
    +e.pl line 9.