Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper qw(Dumper); # impor the Dumper() subroutine
    my %hash = ( a => 1, b => 2, c => 3 );
    print Dumper(\%hash);  # note the \ backslash; Dumper() takes referenc
    +es as arguments
    
  2. or download this
    $VAR1 = {
              'c' => 3,
              'a' => 1,
              'b' => 2
            };