Help for this page

Select Code to Download


  1. or download this
    print "$_\n"
        for sort { $b <=> $a } ( $string1, $string2, $string3 )
    
  2. or download this
    print "$_\n" for sort { $b <=> $a } @array;
    
  3. or download this
    print map { "$_\n" } sort { $b <=> @a } @array;
    
  4. or download this
    {
        local $, = "\n";
    ...
            ''
        );
    }