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

Re: [Omaha.pm] Evolution or devolution?




On Dec 28, 2006, at 4:15 PM, Jay Hannah wrote:

   my @common = reverse sort @rates;
   return $common[0];

Really what you want here is $common[-1], rather than reversing to get the first.

--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance