perl -MO=Deparse -e "$letters{$_}++ for split //, lc;" gives
Which I imagine you can understand.foreach $_ (split(//, lc $_, 0)) { ++$letters{$_}; }
--
I'd like to be able to assign to an luser
In reply to Re: Benchmarking chop/substr/split
by Albannach
in thread Benchmarking chop/substr/split
by larryl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |