Help for this page

Select Code to Download


  1. or download this
        my @indicies = sort { $a[$a] <=> $a[$b] } 0..$#list;
    
  2. or download this
    #!/usr/local/bin/perl -w
      @list = (4,9,3);
      my @indicies = sort { $a[$a] <=> $a[$b] } 0..$#list;
      print ("\n @indicies");