Help for this page

Select Code to Download


  1. or download this
    my %List;
    $List{"a"}{"1"} = "yes";
    $List{"a"}{"2"} = "no";
    $List{"b"}{"1"} = "possibly";
    $List{"b"}{"2"} = "never";
    
  2. or download this
    print "Before:\n";
    foreach my $priKey (sort keys %List)
    ...
    {
        print "$priKey\n";
    }
    
  3. or download this
    Before:
    a
    ...
    a
    b
    c