Help for this page

Select Code to Download


  1. or download this
    sub myfunc {
        my $href = shift; 
    ...
    my %h = ( foo => 'bar' );
    
    myfunc(\%h);
    
  2. or download this
    sub myfunc {
        my %hash = @_; 
    ...
    my %h = ( foo => 'bar' );
    myfunc(%hash);
    myfunc( foo => 'baz' );