is going to be quite a bit faster than anything involving split() or a regexp.while(my $c = getc(FILE)) { $count{lc($c)}++ if $c=~/[a-zA-Z]/; }
In reply to Re: How To Do This Better?
by NoTwoGroo
in thread How To Do This Better?
by buzzcutbuddha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |