Help for this page

Select Code to Download


  1. or download this
    my @numbers= (6, 1, -3, 7, -1290);
    @sorted= reverse sort { $a <=> $b } (@numbers);
    print @sorted;
    
  2. or download this
    @sorted= reverse sort { $a <=> $b } (@score[0]);
    print @sorted;
    
  3. or download this
    @score= split(/\s/, @score[0]);