Help for this page

Select Code to Download


  1. or download this
    $hash{name} = {date => "00-22-00", city=>"Chicago",};
    
    
    function (\%hash1);
    function (\%hash2);
    
  2. or download this
    sub function {
    my %hashref=%{shift()};
    ...
    $hashref{name}={data1=>"moredata",};
    # it does work if I print it out inside the function
    }