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
- RFC 283 (v1) C<tr///> in array context should re... Perl6 RFC Librarian
- Re: RFC 283 (v1) C<tr///> in array context ... Bart Lateur
- RE: RFC 283 (v1) C<tr///> in array context ... Henrik Tougaard
- Re: RFC 283 (v1) C<tr///> in array cont... Bart Lateur
- Re: RFC 283 (v1) C<tr///> in array ... Randal L. Schwartz
- Re: RFC 283 (v1) C<tr///> in ar... Simon Cozens
- Re: RFC 283 (v1) C<tr///> in ar... Bart Lateur
- Re: RFC 283 (v1) C<tr///> ... Simon Cozens
- Re: RFC 283 (v1) C<tr///&... Bart Lateur
- Re: RFC 283 (v1) C<tr///> in array context ... Richard Proctor
- Re: RFC 283 (v1) C<tr///> in array cont... Simon Cozens
- Re: RFC 283 (v1) C<tr///> in array context ... Paris Sinclair
- Re: RFC 283 (v1) C<tr///> in array cont... Bennett Todd
- Re: RFC 283 (v1) C<tr///> in array context ... Russ Allbery
- Re: RFC 283 (v1) C<tr///> in array cont... Paris Sinclair
- Re: RFC 283 (v1) C<tr///> in array ... Russ Allbery