Or course unpack returns the ordinal value not the characater..$chars[$_]++ for unpack "c*",$line; $chars{$_}++ for unpack "c*",$line;
Yves / DeMerphq
--
When to use Prototypes?
In reply to Re: Re: Counting using transliteration
by demerphq
in thread Counting using transliteration
by basm100
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |