Help for this page

Select Code to Download


  1. or download this
    @users =  sort { $::a->{count} <=> $::b->{count} }  @users;
    
  2. or download this
    my $a = 'john';
    @users =  sort { $a->{count} > $b->{count} }  @users;