Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    my @f = qw(leo and magalena went down to the basement to get some good
    + scotch they had hidden from their uncle);
    ...
    @f = sort {$a cmp $b} @f;
    
    for (@f){ print "$_\n";}
    
  2. or download this
    my @sorted_files = split(/\n/, `ls /home/myself/ -S -r`);