Help for this page

Select Code to Download


  1. or download this
    %foo = (
     a => 1,
     b => 2,
    ...
    push @bar, %foo;
    
    print $bar[0], "\n";
    
  2. or download this
    for my $foo (@bar) {
      print keys (%$foo), "\n";
    }