From talk2saravanan at yahoo.co.in Thu Sep 19 12:41:59 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Fri, 20 Sep 2013 03:41:59 +0800 (SGT) Subject: [singapore-pm] Perl Meet up at Singapore Message-ID: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> Hey Singapore Perl Mongers! Its time to kick start a perl meetup by next month .Hope you guys are interested :) Spoke with gaurav.He is interested to share lot of info on hosting meetup. We need more volunteers to drive the event Lets discuss about? 1) Place ? 2) Day and Time? 3) Perl Talk 1) Perl Internals - Saran ? ? ? ? 2) ? 4) Ways to promote the meetup ? Volunteers please cast your vote. Every banyan tree has a humble beginning and thats how we are.Lets keep up the spirit With a Spark of Hope ~Saran -------------- next part -------------- An HTML attachment was scrubbed... URL: From talk2saravanan at yahoo.co.in Thu Sep 19 23:19:22 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Fri, 20 Sep 2013 14:19:22 +0800 (SGT) Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <20130920024242.GR16712@haller.ws> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> Message-ID: <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> Cool Info Patrick! Gaurav is doing good! Yes..Gaurav also suggested to host in hackerspace.sg. Can we use it at free of cost? Any ope source companies in singapore interested to be a event sponsor? Guys! Lets check with our companies if they can be a sponsor for this meetup. Lets get going. So we have decided ?the place "hackerspace.sg". Date?? ________________________________ From: Patrick Haller To: Saravanan T Cc: "singapore-pm at pm.org" Sent: Friday, September 20, 2013 8:12 AM Subject: Re: [singapore-pm] Perl Meet up at Singapore On 2013-09-20 03:41, Saravanan T wrote: > Its time to kick start a perl meetup by next month .Hope you guys are interested :) > Spoke with gaurav.He is interested to share lot of info on hosting meetup. Hey Saran, How's Gaurav? As for a meetup location, we might be able to get Hackerspace.sg to host a perl meetup. Here's a quick perl golf question for the list, what's the shortest way to write a rot13 function without mangling the variable passed in? Here's my attempt: sub rot13($) { ??? $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ } Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From gaurav at ggvaidya.com Sat Sep 21 01:38:28 2013 From: gaurav at ggvaidya.com (Gaurav Vaidya) Date: Sat, 21 Sep 2013 02:38:28 -0600 Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> Message-ID: <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> Hi everybody! On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: > Cool Info Patrick! > > Gaurav is doing good! Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > Yes..Gaurav also suggested to host in hackerspace.sg. > Can we use it at free of cost? The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > From: Patrick Haller > To: Saravanan T > Cc: "singapore-pm at pm.org" > Sent: Friday, September 20, 2013 8:12 AM > Subject: Re: [singapore-pm] Perl Meet up at Singapore > > Here's a quick perl golf question for the list, what's the shortest way > to write a rot13 function without mangling the variable passed in? > > Here's my attempt: > > sub rot13($) { > $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ > } I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ sub rot13 { return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; } cheers, Gaurav From ajiang at gmail.com Sat Sep 21 08:36:59 2013 From: ajiang at gmail.com (Alvin Jiang) Date: Sat, 21 Sep 2013 23:36:59 +0800 Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> Message-ID: <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> I can host. Ping me off list to find a suitable date. Alvin. > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > Hi everybody! > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: >> Cool Info Patrick! >> >> Gaurav is doing good! > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > >> Yes..Gaurav also suggested to host in hackerspace.sg. >> Can we use it at free of cost? > The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > >> From: Patrick Haller >> To: Saravanan T >> Cc: "singapore-pm at pm.org" >> Sent: Friday, September 20, 2013 8:12 AM >> Subject: Re: [singapore-pm] Perl Meet up at Singapore >> >> Here's a quick perl golf question for the list, what's the shortest way >> to write a rot13 function without mangling the variable passed in? >> >> Here's my attempt: >> >> sub rot13($) { >> $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ >> } > I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ > > sub rot13 { > return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; > } > > cheers, > Gaurav > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm From talk2saravanan at yahoo.co.in Tue Sep 24 08:38:01 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Tue, 24 Sep 2013 23:38:01 +0800 (SGT) Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> Message-ID: <1380037081.60896.YahooMailNeo@web192502.mail.sg3.yahoo.com> Sure.Thanks Alvin for your help Tentatively we shall plan on second week of october. ________________________________ From: Alvin Jiang To: Gaurav Vaidya ; "singapore-pm at pm.org" Sent: Saturday, September 21, 2013 9:06 PM Subject: Re: [singapore-pm] Perl Meet up at Singapore I can host. Ping me off list to find a suitable date. Alvin. > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > Hi everybody! > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: >> Cool Info Patrick! >> >> Gaurav is doing good! > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > >> Yes..Gaurav also suggested to host in hackerspace.sg. >> Can we use it at free of cost? > The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > >> From: Patrick Haller >> To: Saravanan T >> Cc: "singapore-pm at pm.org" >> Sent: Friday, September 20, 2013 8:12 AM >> Subject: Re: [singapore-pm] Perl Meet up at Singapore >> >> Here's a quick perl golf question for the list, what's the shortest way >> to write a rot13 function without mangling the variable passed in? >> >> Here's my attempt: >> >> sub rot13($) { >>? ? $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ >> } > I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ > > sub rot13 { >? ? return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; > } > > cheers, > Gaurav > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm _______________________________________________ Singapore-pm mailing list Singapore-pm at pm.org http://mail.pm.org/mailman/listinfo/singapore-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From shantanu at cpan.org Thu Sep 26 05:15:53 2013 From: shantanu at cpan.org (Shantanu Bhadoria) Date: Thu, 26 Sep 2013 20:15:53 +0800 Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <1380037081.60896.YahooMailNeo@web192502.mail.sg3.yahoo.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> <1380037081.60896.YahooMailNeo@web192502.mail.sg3.yahoo.com> Message-ID: Hi Guys, My dates have been moved to the second week of october for the macau trip but it will not involve a weekend. So I will still be good for saturday or sunday. I am also good for first week of october. I leave for canada on 16th so that would put me out of SG for the rest of the month. It would be great if we can have it in first week of the october or weekend of second week. Cheers and Beers! -Shantanu On Tue, Sep 24, 2013 at 11:38 PM, Saravanan T wrote: > Sure.Thanks Alvin for your help > Tentatively we shall plan on second week of october. > ------------------------------ > *From:* Alvin Jiang > *To:* Gaurav Vaidya ; "singapore-pm at pm.org" < > singapore-pm at pm.org> > *Sent:* Saturday, September 21, 2013 9:06 PM > > *Subject:* Re: [singapore-pm] Perl Meet up at Singapore > > I can host. > > Ping me off list to find a suitable date. > > Alvin. > > > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > > > Hi everybody! > > > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T > wrote: > >> Cool Info Patrick! > >> > >> Gaurav is doing good! > > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado > is the beautifulest beautiful imaginable, so I am very happy, even if sick > :) > > > >> Yes..Gaurav also suggested to host in hackerspace.sg. > >> Can we use it at free of cost? > > The last time we had a meeting there, we had to get one of the > Hackerspace members to host the event for us. But you can also e-mail > events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > > > >> From: Patrick Haller > >> To: Saravanan T > >> Cc: "singapore-pm at pm.org" > >> Sent: Friday, September 20, 2013 8:12 AM > >> Subject: Re: [singapore-pm] Perl Meet up at Singapore > >> > >> Here's a quick perl golf question for the list, what's the shortest way > >> to write a rot13 function without mangling the variable passed in? > >> > >> Here's my attempt: > >> > >> sub rot13($) { > >> $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ > >> } > > I tried to make it wordier, but this won't translate punctuation > correctly for some reason :-/ > > > > sub rot13 { > > return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } > split //, lc shift; > > } > > > > cheers, > > Gaurav > > _______________________________________________ > > Singapore-pm mailing list > > Singapore-pm at pm.org > > http://mail.pm.org/mailman/listinfo/singapore-pm > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm > > > > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From talk2saravanan at yahoo.co.in Fri Sep 27 04:25:34 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Fri, 27 Sep 2013 19:25:34 +0800 (SGT) Subject: [singapore-pm] Perl Meet up at Singapore In-Reply-To: <20130924160224.GE2218@haller.ws> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> <1380037081.60896.YahooMailNeo@web192502.mail.sg3.yahoo.com> <20130924160224.GE2218@haller.ws> Message-ID: <1380281134.55657.YahooMailNeo@web192501.mail.sg3.yahoo.com> Hi Patrick, Thanks for taking the initiative. Oct 2nd or 3rd is a working day.Perl Mongers may feel bit difficult.Lets go with Polls http://www.meetup.com/Singapore-Perl-Mongers/polls/ Please suggest to keep this group moving forward. Thanks, ~Saran +65 92459643 ________________________________ From: Patrick Haller To: Saravanan T Cc: Alvin Jiang ; Gaurav Vaidya ; "singapore-pm at pm.org" Sent: Wednesday, September 25, 2013 12:02 AM Subject: Re: [singapore-pm] Perl Meet up at Singapore Ok, so you don't want to meet on the 2nd or 3rd? http://www.doodle.com/h36u8a5hztdmw3st#table On 2013-09-24 23:38, Saravanan T wrote: > Sure.Thanks Alvin for your help > Tentatively we shall plan on second week of october. > > ________________________________ >? From: Alvin Jiang > To: Gaurav Vaidya ; "singapore-pm at pm.org" > Sent: Saturday, September 21, 2013 9:06 PM > Subject: Re: [singapore-pm] Perl Meet up at Singapore > > > I can host. > > Ping me off list to find a suitable date. > > Alvin. > > > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > > > Hi everybody! > > > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: > >> Cool Info Patrick! > >> > >> Gaurav is doing good! > > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > > > >> Yes..Gaurav also suggested to host in hackerspace.sg. > >> Can we use it at free of cost? > > The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > > > >> From: Patrick Haller > >> To: Saravanan T > >> Cc: "singapore-pm at pm.org" > >> Sent: Friday, September 20, 2013 8:12 AM > >> Subject: Re: [singapore-pm] Perl Meet up at Singapore > >> > >> Here's a quick perl golf question for the list, what's the shortest way > >> to write a rot13 function without mangling the variable passed in? > >> > >> Here's my attempt: > >> > >> sub rot13($) { > >>? ? $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ > >> } > > I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ > > > > sub rot13 { > >? ? return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; > > } > > > > cheers, > > Gaurav > > _______________________________________________ > > Singapore-pm mailing list > > Singapore-pm at pm.org > > http://mail.pm.org/mailman/listinfo/singapore-pm > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From talk2saravanan at yahoo.co.in Fri Sep 27 05:00:55 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Fri, 27 Sep 2013 20:00:55 +0800 (SGT) Subject: [singapore-pm] Singapore Perl Mongers Group in Meetup.com In-Reply-To: <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> Message-ID: <1380283255.99815.YahooMailNeo@web192503.mail.sg3.yahoo.com> Hi Perl Mongers, Singapore Perl Mongers group is created in meetup.com http://www.meetup.com/Singapore-Perl-Mongers| Please join. There is also a polling to choose our comfortable date,Time and Topics. Initially this is our plan. Introduction - 15 Mins? Perl Topics? 1) Perl Internals - Saran? and few more. 2) Discuss about the plans for YAPC::SG? 3) Networking time Lets discuss more about the event, Alvin : Thanks for hosting the meetup Shantanu/Patrick : Please do plan for a technical session.Call out known Perl ppl for the meetup. Lets get this going! Cheers ~Saran ________________________________ From: Alvin Jiang To: Gaurav Vaidya ; "singapore-pm at pm.org" Sent: Saturday, September 21, 2013 11:36 PM Subject: Re: [singapore-pm] Perl Meet up at Singapore I can host. Ping me off list to find a suitable date. Alvin. > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > Hi everybody! > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: >> Cool Info Patrick! >> >> Gaurav is doing good! > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > >> Yes..Gaurav also suggested to host in hackerspace.sg. >> Can we use it at free of cost? > The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > >> From: Patrick Haller >> To: Saravanan T >> Cc: "singapore-pm at pm.org" >> Sent: Friday, September 20, 2013 8:12 AM >> Subject: Re: [singapore-pm] Perl Meet up at Singapore >> >> Here's a quick perl golf question for the list, what's the shortest way >> to write a rot13 function without mangling the variable passed in? >> >> Here's my attempt: >> >> sub rot13($) { >>? ? $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ >> } > I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ > > sub rot13 { >? ? return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; > } > > cheers, > Gaurav > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm _______________________________________________ Singapore-pm mailing list Singapore-pm at pm.org http://mail.pm.org/mailman/listinfo/singapore-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From talk2saravanan at yahoo.co.in Sun Sep 29 22:10:11 2013 From: talk2saravanan at yahoo.co.in (Saravanan T) Date: Mon, 30 Sep 2013 13:10:11 +0800 (SGT) Subject: [singapore-pm] Discussion thread for sg perl meetup In-Reply-To: <1380283255.99815.YahooMailNeo@web192503.mail.sg3.yahoo.com> References: <1379619719.91733.YahooMailNeo@web192504.mail.sg3.yahoo.com> <20130920024242.GR16712@haller.ws> <1379657962.99874.YahooMailNeo@web192503.mail.sg3.yahoo.com> <3D09F0B3-5658-4F4E-8D34-E60B1E7C2B45@ggvaidya.com> <6BFC9E17-CC3F-4A7E-80DE-86E6A6AAFFFF@gmail.com> <1380283255.99815.YahooMailNeo@web192503.mail.sg3.yahoo.com> Message-ID: <1380517811.29520.YahooMailNeo@web192503.mail.sg3.yahoo.com> Hi Guys! Date and Time can be changed based on our convenience.Please respond to polls in meetup. To make this effort successful .If Everyone thinks as a organizers for this meetup .Lets give back our contributions to the perl meetup. Spread this message across Perl enthusiast especially your colleagues. May be your colleagues ask you to teach Perl.This is the right time to get invited.Lets have some perl basic sessions. Lets discuss more in this thread. Any volunteers to create facebook and linkedin group for singapore pm ? Thanks, ~Saran +65 92459642 ________________________________ From: Saravanan T To: Alvin Jiang ; Gaurav Vaidya ; "singapore-pm at pm.org" ; "shantanu at cpan.org" ; Patrick Haller Sent: Friday, September 27, 2013 8:00 PM Subject: Singapore Perl Mongers Group in Meetup.com Hi Perl Mongers, Singapore Perl Mongers group is created in meetup.com http://www.meetup.com/Singapore-Perl-Mongers| Please join. There is also a polling to choose our comfortable date,Time and Topics. Initially this is our plan. Introduction - 15 Mins? Perl Topics? 1) Perl Internals - Saran? and few more. 2) Discuss about the plans for YAPC::SG? 3) Networking time Lets discuss more about the event, Alvin : Thanks for hosting the meetup Shantanu/Patrick : Please do plan for a technical session.Call out known Perl ppl for the meetup. Lets get this going! Cheers ~Saran ________________________________ From: Alvin Jiang To: Gaurav Vaidya ; "singapore-pm at pm.org" Sent: Saturday, September 21, 2013 11:36 PM Subject: Re: [singapore-pm] Perl Meet up at Singapore I can host. Ping me off list to find a suitable date. Alvin. > On 21 Sep, 2013, at 16:38, Gaurav Vaidya wrote: > > Hi everybody! > >> On 20 Sep, 2013, at 12:19 AM, Saravanan T wrote: >> Cool Info Patrick! >> >> Gaurav is doing good! > Well, I'm sick. But I think I'm getting better! Also Boulder, Colorado is the beautifulest beautiful imaginable, so I am very happy, even if sick :) > >> Yes..Gaurav also suggested to host in hackerspace.sg. >> Can we use it at free of cost? > The last time we had a meeting there, we had to get one of the Hackerspace members to host the event for us. But you can also e-mail events(at)hackerspace(dot)sg, see http://hackerspace.sg/about-us/ > >> From: Patrick Haller >> To: Saravanan T >> Cc: "singapore-pm at pm.org" >> Sent: Friday, September 20, 2013 8:12 AM >> Subject: Re: [singapore-pm] Perl Meet up at Singapore >> >> Here's a quick perl golf question for the list, what's the shortest way >> to write a rot13 function without mangling the variable passed in? >> >> Here's my attempt: >> >> sub rot13($) { >>? ? $a if (my $a = $_[0]) =~ tr/a-mn-z/n-za-m/ >> } > I tried to make it wordier, but this won't translate punctuation correctly for some reason :-/ > > sub rot13 { >? ? return join "", map { $_ = ord; chr ($_ > 109 ? $_ - 13 : $_ + 13) } split //, lc shift; > } > > cheers, > Gaurav > _______________________________________________ > Singapore-pm mailing list > Singapore-pm at pm.org > http://mail.pm.org/mailman/listinfo/singapore-pm _______________________________________________ Singapore-pm mailing list Singapore-pm at pm.org http://mail.pm.org/mailman/listinfo/singapore-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: