Help for this page

Select Code to Download


  1. or download this
    my @size= map 0 + ( split /\t/, $_ )[2], @in;
    #             ^^^ store numbers not strings
    my @idx= sort { $size[$a] <=> $size[$b] }, 0..$#in;
    @in= @in[@idx];
    
  2. or download this
    for( @idx ) {
        print $in[$_], $/;
    }