Help for this page

Select Code to Download


  1. or download this
    my %hash = ();
    for my $no ( 0..$#array2 )
    {
          if ( $array2[$no] ) { $hash{ $array2[$no] }++; }
    }
    
  2. or download this
    foreach my $key ( sort keys %hash )
    {    print "$key:$hash{$key}\n"; }