Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    
    @Objs = sort { $a->{num} <=> $b->{num} } @Objs;
    print "Sorted in-place\t",is_sorted(@Objs),"\n";