why don't you just $count++ ?And put it along with the the checking as well...
$data{$match}++ || $count++; # or, $count++ unless $data{$match}++;
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In reply to Re^2: Odd number of elements error
by naikonta
in thread Odd number of elements error
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |