If you want to initialise all counts to zero, do this:
my %count = map { $_ => 0 } @keywords;
Also, see my update: that's probably a better choice of code for your application.
-- Ken
In reply to Re^3: Better way of doing!
by kcott
in thread Better way of doing!
by Xhings
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |