in reply to Benchmarking chop/substr/split

Deparse is cool!:

perl -MO=Deparse -e "$letters{$_}++ for split //, lc;" gives

foreach $_ (split(//, lc $_, 0)) { ++$letters{$_}; }
Which I imagine you can understand.

--
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