Steven Lembark wrote: > John Porter wrote: > > @a[ map { length } @data ] = (); > > print $#a; > > run time -- and memory use -- may depend heavily on the string > lengths being tested (e.g., try it with /vmunix...). Sure. This solution was supposed to be "fun", not for production deployment. Sorry for any confusion. ;-) John Porter ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org