in reply to Benchmarking chop/substr/split
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Benchmarking chop/substr/split
by larryl (Monk) on Mar 17, 2001 at 01:19 UTC |