Help for this page

Select Code to Download


  1. or download this
    $dup{$row[3]} = $dup{$row[3]} + 1; # Has trouble with undef
    $dup{$row[3]} += 1;
    ++$dup{$row[3]};
    $dup{$row[3]}++;
    
  2. or download this
    ++$wordCount{$_} for split ' ', $string;