Help for this page

Select Code to Download


  1. or download this
    foreach (qw/hasha hashb hashc/) {
      @keys = keys eval('%' . $_);
      print "There are " . scalar(@keys) . " keys here for '$_'\n";
    }
    
  2. or download this
    my %big_data = (
      hasha => \%hasha,
    ...
      @keys = keys %{$big_data{$_}};
      print "There are " . scalar(@keys) . " keys here for '$_'\n";
    }