From Peter at PSDT.com Tue Dec 6 09:32:54 2005 From: Peter at PSDT.com (Peter Scott) Date: Tue, 06 Dec 2005 09:32:54 -0800 Subject: [VPM] Perl Foundation BLog and meetings Message-ID: <6.1.2.0.2.20051206093031.02365820@mail.webquarry.com> Some news forwarded below. The December meeting would fall too close to Christmas - cancelled. I will be away during the January meeting - also cancelled, unless at least four people tell me they want one and we have a speaker they want to hear. >Date: Tue, 06 Dec 2005 15:33:35 +0000 >From: Dave Cross >Subject: [pm_groups] Perl Foundation BLog > > >The Perl Foundation has set up a blog so that its officers can >communicate more easily with the rest of the Perl community. > >It's at http://blog.perlfoundation.org/ and it has all the usual bloggy >goodness (comments, trackbacks, rss, etc). > >Please let you members know about it. > >Dave... > >-- >Site: http://dave.org.uk/ >Blog: http://blog.dave.org.uk/ >Code: http://dave.org.uk/code/ >-- -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/ http://www.perlmedic.com/ From Peter at PSDT.com Thu Dec 15 18:02:06 2005 From: Peter at PSDT.com (Peter Scott) Date: Thu, 15 Dec 2005 18:02:06 -0800 Subject: [VPM] Ruby in Perl Message-ID: <6.1.2.0.2.20051215175606.028309e8@mail.webquarry.com> Passing along something that came across the VLUG list here (for the many of you that are on that list as well, you've seen this). It was in response to this: >At 01:53 PM 12/15/2005, Deryk Barker wrote: >Noel Burton-Krahn wrote: > >>Thanks for your presentation and your follow-up, Steven! >> >>Yes, that method_missing does look evil (as does overriding base >>class functions outside its declaration), but it's interesting to see >>how it works. Just because a language gives you a gun doesn't mean >>you have to shoot yourself! >> >>In fact, you can shoot yourself in a similar way with perl: > >But can you, for instance, open up the number class and redefine + on >integers in perl? I replied: You're not going to like it. You're really not going to like it. #!/usr/bin/perl -l use strict; use warnings; { package Evil; use overload '+' => sub { ${$_[0]} * ${$_[1]} }, fallback => 1, '0+' => sub { ${$_[0]} }; } BEGIN { overload::constant( integer => sub { bless \$_[1], "Evil"; } ); } my $x = 42 + 37; # Looks like addition... really multiplication... print $x; # 1554 Speaking of evil, there was a great post on p5p a couple of days ago where a guy discovered that declaring labels and using goto on them inside the substitution clause of a s///e didn't work right. Chip Salzenberg replied that this had just pegged his evil-o-meter. Goes to show that there is still unexplored territory in Perl. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/ http://www.perlmedic.com/ From carl.constantine at gmail.com Sat Dec 31 09:29:34 2005 From: carl.constantine at gmail.com (Carl Constantine) Date: Sat, 31 Dec 2005 09:29:34 -0800 Subject: [VPM] LinuxFest Northwest 2006 Call For Presenters Message-ID: LinuxFest Northwest 2006 is happening Sat. Apr. 29th in Bellingham Wash http://www.linuxfestnorthwest.org This is a call for presenters on all aspects of Linux and Open Source technology. We welcome both introductory lectures and advanced discussions on software development, database, server application, networking, and system administration topics. We will have 90-minute lecture slots. Presenters are asked to speak for 45 to 60 minutes and leave plenty of time for a question and answer period. For more details see: http://linuxfestnorthwest.org/present.html -- Carl B. Constantine carl.constantine at gmail.com http://photo-op.ca/