From iceburn at dangerzone.com Fri Jul 1 13:15:43 2011 From: iceburn at dangerzone.com (Tim) Date: Fri, 1 Jul 2011 16:15:43 -0400 Subject: [Omaha.pm] Rosetta Code In-Reply-To: <4F896750-5909-48B7-933B-7D6309F12DFF@iinteractive.com> References: <4F896750-5909-48B7-933B-7D6309F12DFF@iinteractive.com> Message-ID: http://99-bottles-of-beer.net/abc.html :-) On Thu, Jun 30, 2011 at 9:41 PM, Jay Hannah wrote: > lol... Soundex solved in 28 languages: > > ? http://rosettacode.org/wiki/Soundex > > The Perl5 and PHP solutions are total crap. Boo!! ? :) > > This is a cool wiki. ? :) > > Jay Hannah > Senior Developer / Consultant > http://www.iinteractive.com > Email: jay.hannah at iinteractive.com > > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > From jay at jays.net Tue Jul 12 07:13:03 2011 From: jay at jays.net (Jay Hannah) Date: Tue, 12 Jul 2011 09:13:03 -0500 Subject: [Omaha.pm] Meeting tonight, 7pm Message-ID: <144C7E39-B576-437B-BBE9-FBB2F36FBC95@jays.net> http://odlug.org/ Tuesday July 12 2011, 7pm UNO's Peter Kiewit Institute (PKI) Room 375 1110 South 67th Street Omaha, NE USA Lost? Jay's mobile phone: 402-598-7782 Nick Nisi, Jay Hannah, ?: "Web development with Sinatra and Rack (Ruby), Plack (Perl's Rack), WSGI (Python) volunteer needed. See 3 languages joining forces for webby justice!" See you tonight. :) j From jay.hannah at iinteractive.com Tue Jul 12 07:16:57 2011 From: jay.hannah at iinteractive.com (Jay Hannah) Date: Tue, 12 Jul 2011 09:16:57 -0500 Subject: [Omaha.pm] map grep References: <326E8E2A-D317-4F0C-A1F0-169691B15719@iinteractive.com> Message-ID: <5E94C5F9-C41C-4641-BD96-399C5E8F329C@iinteractive.com> IRC rules! :) j 02:07 < jhannah> ick. what's the proper form of this? map { /servers_(\d+)/; $1; } grep { /servers_/ } 02:14 < dngor> jhannah: map { substr($_, 8) } grep { /servers_/ } ... is one way 02:15 < dngor> jhannah: map { /servers_(\d+)/ ? $1 : () } ... is another 02:16 < jhannah> ooo empty () collapse... cool :)