Help for this page

Select Code to Download


  1. or download this
    sub hmap (&\%) {
        my( $code, $href ) = @_;
    ...
            $code->( @_ = each %$href )
        } 1 .. keys %$href;
    }
    
  2. or download this
    >perl -wMstrict -MData::Dump -le
    "sub hmap (&\%) {
    ...
      dogma => 178,
      dogstar => 184,
    }