From casey at geeknest.com Wed Apr 5 17:59:19 2006 From: casey at geeknest.com (Casey West) Date: Wed, 5 Apr 2006 20:59:19 -0400 Subject: [pgh-pm] Announcing the Pittsburgh Perl Workshop - 2006-09-23 Message-ID: <1F91A820-71E7-4B12-A360-74F142E3AE12@geeknest.com> The Pittsburgh Perl Mongers are pleased to announce The PITTSBURGH PERL WORKSHOP, a one-day, low-cost conference on Saturday, September 23, 2006. This year's theme is "Perl at Work." http://pghpw.org/ The Pittsburgh Perl Workshop is modeled after the highly successful Perl workshops held in Europe over the last several years. The day is designed to provide you with a comfortable, exciting, and enjoyable learning experience. The Workshop will be held at Carnegie Mellon University. There is free, on-campus parking within walking distance. The CMU campus is located in Oakland, part of Pittsburgh's wonderful East End. You can register online at the Pittsburgh Perl Workshop website: http://pghpw.org/register.html Be sure to register during the "Early Bird" period in order to reserve your seat at $20 or less. Registrations are on a first-come, first-serve basis. CALL FOR PAPERS http://pghpw.org/cfp.html The organizers of the Pittsburgh Perl Workshop invite you to tell us what "Perl at Work" means to you. If you have a hard-working CPAN module, a sweat-inducing case study, a smarter way to get work done with Perl, or anything at all to say about "Perl At Work," we want to hear from you. -- Pittsburgh Perl Workshop site: http://pghpw.org list: pittsburgh-perl-workshop at googlegroups.com http://googlegroups.com/group/pittsburgh-perl-workshop From robert at robertblackwell.com Wed Apr 12 07:04:01 2006 From: robert at robertblackwell.com (Robert Blackwell) Date: Wed, 12 Apr 2006 07:04:01 -0700 (PDT) Subject: [pgh-pm] Reminder notice. Meeting TONIGHT! Improving your Perl Code - Mark Jason Dominus Wednesday April 12, 2006 Message-ID: <20060412140401.65781.qmail@web52203.mail.yahoo.com> Special Speaker - April 12, 2006 Wednesday April 12 at 7:00 This months Technical Gathering Location Slaymaker Systems, Inc. 4914 Baum Blvd. Pittsburgh, PA 15213 Wednesday April 12, 2006 19:00 Talks Improving your Perl Code - Mark Jason Dominus Most programmers write the first code that comes into their heads. If you add a second phase, in which you edit the code, tighten it up, and trim out the unnecessary stuff, the result is much better. Editing and improving code is easy! If you learn to recognize and repair a few "red flags" that are easy to find and easy to fix, your code gets significantly better. In this talk, I'll take an example program contributed by a Pittsburgh Perl Monger and I'll show how addressing the red flags can make it faster, simpler, and more robust while using 30 to 50% less code. Our meetings are open to anyone interested in Perl, the talk topic, beer, geekdom, etc. Please join us. Robert Blackwell robert at robertblackwell.com AIM: robertdblackwell Yahoo!: robertblackwell Jabber: robertblackwell at jabber.com http://www.robertblackwell.com Skype: rblackwe From tom at moertel.com Wed Apr 12 21:58:12 2006 From: tom at moertel.com (Tom Moertel) Date: Thu, 13 Apr 2006 00:58:12 -0400 Subject: [pgh-pm] Anybody have that link to the slides for MJD's talk? Message-ID: <443DDA64.2040506@moertel.com> So I get home and check my usually trustworthy notepad for that link Mark gave us at the beginning of his talk. And the link's not there! Apparently, I forgot to jot it down. Anybody have it? Cheers, Tom From robertblackwell at yahoo.com Thu Apr 13 04:09:32 2006 From: robertblackwell at yahoo.com (Robert Blackwell) Date: Thu, 13 Apr 2006 04:09:32 -0700 (PDT) Subject: [pgh-pm] Anybody have that link to the slides for MJD's talk? In-Reply-To: <443DDA64.2040506@moertel.com> Message-ID: <20060413110932.20851.qmail@web52207.mail.yahoo.com> > So I get home and check my usually trustworthy notepad for that link > Mark gave us at the beginning of his talk. And the link's not there! > Apparently, I forgot to jot it down. Anybody have it? I think it will be findable from here http://perl.plover.com/flagbook/yak/ but it is not posted yet. Robert Blackwell robert at robertblackwell.com AIM: robertdblackwell Yahoo!: robertblackwell Jabber: robertblackwell at jabber.com http://www.robertblackwell.com Skype: rblackwe From chris.winters at gmail.com Thu Apr 13 11:09:43 2006 From: chris.winters at gmail.com (Chris Winters) Date: Thu, 13 Apr 2006 14:09:43 -0400 Subject: [pgh-pm] Anybody have that link to the slides for MJD's talk? In-Reply-To: <443DDA64.2040506@moertel.com> References: <443DDA64.2040506@moertel.com> Message-ID: On 4/13/06, Tom Moertel wrote: > So I get home and check my usually trustworthy notepad for that link > Mark gave us at the beginning of his talk. And the link's not there! > Apparently, I forgot to jot it down. Anybody have it? Sorry I had to bug out early, family thing. But hopefully it made the rest of his talk more colorful! (Not that it wasn't already.) Chris From Dan at DWright.Org Thu Apr 13 11:47:07 2006 From: Dan at DWright.Org (Daniel J. Wright) Date: Thu, 13 Apr 2006 14:47:07 -0400 (EDT) Subject: [pgh-pm] Anybody have that link to the slides for MJD's talk? In-Reply-To: References: <443DDA64.2040506@moertel.com> Message-ID: <3854.216.92.130.24.1144954027.squirrel@webmail7.pair.com> Now in MJD's book, he can write: "I once has one of the code authors walk out on me in the middle of my talk". :) > On 4/13/06, Tom Moertel wrote: >> So I get home and check my usually trustworthy notepad for that link >> Mark gave us at the beginning of his talk. And the link's not there! >> Apparently, I forgot to jot it down. Anybody have it? > > Sorry I had to bug out early, family thing. But hopefully it made the > rest of his talk more colorful! (Not that it wasn't already.) > > Chris > _______________________________________________ > pgh-pm mailing list > pgh-pm at pm.org > http://mail.pm.org/mailman/listinfo/pgh-pm > From Dan at DWright.Org Thu Apr 13 15:07:34 2006 From: Dan at DWright.Org (Daniel J. Wright) Date: Thu, 13 Apr 2006 18:07:34 -0400 (EDT) Subject: [pgh-pm] Why you want a subroutine instead of a package variable.... Message-ID: <3977.216.92.130.24.1144966054.squirrel@webmail7.pair.com> One of the issues presented in the talk last night is why you'd want to have my $DEBUG sub DEBUG { $DEBUG = shift if @_; return $DEBUG } instead of just our $DEBUG One excellent reason that I don't think was covered is that one of those will catch typo mistakes and the other will not: $Class::Observable::Debug = 1; Class::Observable::Debug(1); In the first case, Perl will do what you tell it to do, it sets $Debug to 1. It doesn't matter that in the rest of your code you only cares about $DEBUG. In the second case, if you or one of your users accidentally use the Debug subroutine, Perl will yell at you and tell you that it can't find the Debug subroutine. I can personally vouch for many hours of yelling at my computer because I *knew* I had set that variable before realizing that I was doing something stupid like this. Accessor subs helps find errors like these quicker and saves debugging time. -Dan From casey at geeknest.com Thu Apr 13 19:43:04 2006 From: casey at geeknest.com (Casey West) Date: Thu, 13 Apr 2006 22:43:04 -0400 Subject: [pgh-pm] Thanks, from Mark Jason Dominus Message-ID: From Mark, to the Mongers, Dear Pittsburgh Perl Mongers, Thanks again for having me in to talk last night. I hope you all had as much fun as I did. Your comments and discussion will be very helpful to me when I write up this talk into a book chapter. Thanks again to Rob Blackwell and Pair Networks for covering my hotel stay, and to Rob and to Casey West for chaufeurring me to and from the airport. Thanks to Rob, Dan Wright, and Tom Moertel for sending me code examples even though I didn't end up using them, and extra big thanks to Chris Winters for supplying the code I did use and then for being a good sport when I took it apart. The talk slides are available one at a time at: http://perl.plover.com/flagbook/yak/Pit/ And as a package at: http://perl.plover.com/flagbook/yak/Pit/Pit.tgz http://perl.plover.com/flagbook/yak/Pit/Pit.zip The before-and-after sources are under: http://perl.plover.com/flagbook/yak/Pit/sources/ Observable-1.pm http://perl.plover.com/flagbook/yak/Pit/sources/ Observable-2.pm and other related stuff, including the test suites are in that directory. If you're interested in the book, there is more detailed information at: http://perl.plover.com/flagbook/ If you have any questions or comments, or if you want to send me example code (it's not too late; I'll be working on the book through December) please email me any time at mjd at plover.com . Thanks again for everything. -- Casey West From tom at moertel.com Thu Apr 20 07:16:08 2006 From: tom at moertel.com (Tom Moertel) Date: Thu, 20 Apr 2006 10:16:08 -0400 Subject: [pgh-pm] REMINDER: Pgh Coding Dojo on 27 April 2006 (Thursday) Message-ID: <444797A8.2010402@moertel.com> Perlmongers, Next Thursday is the Pgh Coding Dojo meeting: 6PM at the Pittsburgh Technology Council. It sounds like fun. A bunch of programmers get together, pair up, solve a coding problem, and learn from each other. For more on this meeting, see the wiki: http://www.insomnia-consulting.org/wiki/index.php/April_27th_Meeting I am planning on attending. A bunch of Java folks will be there, too. This will be good opportunity to observe how Perl (and maybe Haskell :-P) practices fare against modern Java development practices. Curious? Want to test your assumptions? (Want to pair with me so I don't have to code in Java?) Then be there. If you are planning on attending, drop Greg an email (address below) so he can size the pizza order properly. Please cc me (tom at moertel.com), so I can gauge the Perlmonger attendance and help arrange Perl-programmer pairings. (If anybody wants to pair with me using another language, say, Haskell or Ruby, let me know.) Cheers, Tom angrygreg wrote: > Would everyone who is planning on being at the April 27th meeting send > me an email (gakins at insomnia-consulting.org)? > > Also, I'll bring some pizza. Since I don't have any sponsorship for > the group, perhaps everyone could pitch in a donation when we meet? > > If anyone has any questions about the meeting, format, or what we're > going to cover, go ahead an post here. > > Looking forward to seeing everyone. > > Greg Akins > http://pghcodingdojo.org