[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Finding the length of the longest string



> @a[ map { length } @data ] = ();
> 
> print $#a;

Brilliant and twisted.  (i.e. fun)

xoxo,
Andy

-- 
Andy Lester: andy@petdance.com  http://petdance.com/
"It takes a teenage riot to get me out of bed today."



==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org