Help for this page

Select Code to Download


  1. or download this
    $hash{A}{B}{C}{D}{one} = "1";
    $hash{A}{B}{C}{D}{two} = "2";
    ...
    $hash{A}{B}{C}{E}{one} = "4";
    $hash{A}{B}{C}{E}{two} = "5";
    $hash{A}{B}{C}{E}{thr} = "6";
    
  2. or download this
    foreach my $key (sort {$a cmp $b} keys "D", "E") {
     print "$hash{$key}";
    }
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        print "$key\n";
    
    }
    
  4. or download this
    thr
    one
    ...
    1
    two
    2