Help for this page

Select Code to Download


  1. or download this
    my (@array) = ("fred","barney","wilma","betty");
    @array = sort @array;
    @array = reverse @array;
    print "@array\n";
    
  2. or download this
    sub reversi {
    my (@array) = @_;
    print reverse sort(@array);
    }