Help for this page

Select Code to Download


  1. or download this
    { # Get an enclosing lexical scope
      no strict 'refs'; # allow symbolic refrence shenanigains
      &$SubHash{key}(); # Call sub
    } # Back to strict 'refs'
    
  2. or download this
    CallFromHash {
      no strict 'refs'; # allow symbolic refrence shenanigains
      return &$SubHash{shift(@_)}(@_); #Call the sub in the first arg with
    + the rest of @_ as args and return
    }