Help for this page

Select Code to Download


  1. or download this
    my @result2 = sort custom keys %$VAR2;
    
  2. or download this
    my @result = sort { 
            $VAR1->{$a}{network} cmp $VAR1->{$b}{network} 
        } keys %$VAR1;
    
  3. or download this
    sub keys_sorted_by_network { 
        my $h = shift; 
        sort { $h->{$a}{network} cmp $h->{$b}{network} } keys %$h;
    }
    my @result = keys_sorted_by_network($VAR1);