Help for this page

Select Code to Download


  1. or download this
    @array = [8,9,10], [4,5,6], [7,8,9]; 
    @sorted = sort { $a->[1] <=> $b->[1] } @array
    
  2. or download this
    @array = ([8,9,10], [4,5,6], [7,8,9]); 
    @sorted = sort { $a->[1] <=> $b->[1] } @array