Simon,

> I think I said in the RFC, didn't I? It's extending the counting use of tr///
> to allow you to count several different letters at once. For instance, letter
> frequencies in text is an important metric for linguists, codebreakers and
> others; think about how you'd get letter frequency from a string:
>    (%alphabet) = $string =~ tr/a-z//;
> And it's on the Perl 5 wishlist, so it ain't just me that thinks its a worthy
idea.

So you can use it for code breaking and japhs.  It is at best a fun thing.

It does not seem to have much to do with tr///, if you want it, why not put it
in a module with some meaningful name such as histogram()?

How did something like this get in the wish list?

Richard



Reply via email to