Help for this page

Select Code to Download


  1. or download this
    sub sortHash {
    
    ...
    
      return \@keys;
    }
    
  2. or download this
    my %hash = (
                '2.2.2.2' => 'nfs,1',
    ...
                '4.4.4.4' => 'cifs,1',
                '1.1.1.1' => 'cifs,0',
               );
    
  3. or download this
    my $array = &sortHash(\%hash);
    print Dumper($array);
    ...
            '3.3.3.3',
            '2.2.2.2',
           ];