Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    push @{ $grades{$_->{GRADE}}{$_->{POSITION}} }, $_->{NAME} for @$RECOR
    +D;
    
    dd \%grades;
    
  2. or download this
    23:51 >perl 1008_SoPW.pl
    {
    ...
    }
    
    23:51 >
    
  3. or download this
    for my $key (sort { substr($a, 0, 1) cmp substr($b, 0, 1) ||
                        substr($b, 0, 2) cmp substr($a, 0, 2) } keys %grad
    +es)
    ...
            print '        ', $names->[$_], "\n" for 1 .. $#$names;
        }
    }
    
  4. or download this
    23:51 >perl 1008_SoPW.pl
    1 ADG JUNIOR OFFICER K. King
    ...
    1 P1 GENERAL OFFICER K. King
    
    23:53 >