Help for this page

Select Code to Download


  1. or download this
    my (%hash1, %hash2, %hash3);
    my %hash_names = ( "%hash1" => "Hash One",
                       "%hash2" => "Hash Two",
                       "%hash3" => "Hash Three" );
    
  2. or download this
    &subroutine(\%hash1, "Hash One");
    
  3. or download this
    foreach $key (sort keys %hash_names) {
        &subroutine($key, $hash_names{$key});
    }