Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper; print Dumper(+{ unsorted => \@array });
    @array = sort {
    ...
    } @array;
    use Data::Dumper; print Dumper(+{ 
        sorted_on_first_three_elements => \@array });
    
  2. or download this
    use Data::Dumper; print Dumper(+{ unsorted => \@array });
    @array = sort {
    ...
      return 0;
    } @array;
    use Data::Dumper; print Dumper(+{ sorted => \@array });
    
  3. or download this
      my @user = (
       # [ username, fullname, authlevel, { otherinfo } ],
    ...
                   { supervisor => 'amcclain', department => 'theology', }
    + ],
       # and so on and so forth
      );