Help for this page

Select Code to Download


  1. or download this
    if (%$href) { print "has elements" }
    
  2. or download this
    my @keys = keys %$href;
    my @vals = values %$href;
    while (my ($key, $val) = each %$href) { ... }
    
  3. or download this
    for (keys %$href) {
        $_ = "foo";
    }