From chardin at gmail.com Mon Nov 5 09:53:06 2012 From: chardin at gmail.com (Chuck Hardin) Date: Mon, 5 Nov 2012 09:53:06 -0800 Subject: [Thousand-Oaks-pm] Next meeting is on Wednesday, November 14! Message-ID: <95BF9145-F8EE-4388-BCC7-AD01E0CD58BF@gmail.com> We have two exciting presentations this month. See the details at http://thousand-oaks.pm.org/ as always. Note that the second presentation is about your custom Perl tools and tricks. This is your chance to show off! Now, I won't ask you to specify what you're presenting. That would spoil the surprise. However, it might be helpful if you told us how many items you intend to present, so we can manage our time effectively. Please reply by email with the number of items you intend to present. Tog et the ball rolling, I'm presenting two. Even if you don't want to present, feel free to attend. We're always glad to see you! From cynthia-brevik at roadrunner.com Mon Nov 5 10:05:00 2012 From: cynthia-brevik at roadrunner.com (Cynthia Brevik) Date: Mon, 5 Nov 2012 10:05:00 -0800 Subject: [Thousand-Oaks-pm] Next meeting is on Wednesday, November 14! In-Reply-To: <95BF9145-F8EE-4388-BCC7-AD01E0CD58BF@gmail.com> References: <95BF9145-F8EE-4388-BCC7-AD01E0CD58BF@gmail.com> Message-ID: <022f01cdbb80$12e86300$38b92900$@com> > Please reply by email with the number of items you > intend to present. Tog et the ball rolling, I'm presenting two. I intend to present two, fairly basic but hopefully interesting. If we get desperate, I can do a third . Barry Brevik From Jerry.Ursetti at wellpoint.com Mon Nov 5 11:49:47 2012 From: Jerry.Ursetti at wellpoint.com (Ursetti, Jerry) Date: Mon, 5 Nov 2012 19:49:47 +0000 Subject: [Thousand-Oaks-pm] Perl testing issue Message-ID: I'm hoping some of the Perl test experts in the group can help me out. I'm trying to do more testing of my modules. I haven't completely made it to TDD, but I am doing more testing. For the most part this is going OK. I've just run into an odd problem that has me stumped. I'm testing a module that uses one of my other modules. The second module uses the DateTime module and includes code to assign the local timezone to a variable. It sort of works like this: My module... ... Use WLP::UTILS; - WLP::UTILS module... o Use DateTime; o our $localtz = DateTime::TimeZone->new( name => 'local' ); I'm having trouble with the most basic test, just trying to use my module: #!perl -T use Test::More tests => 1; BEGIN { use_ok( 'WLP::TeradataBTEQ' ); } diag( "Testing WLP::TeradataBTEQ $WLP::TeradataBTEQ::VERSION, Perl $], $^X" ); When I run 'make test', the test fails with this error: 'Error: Cannot determine local time zone' If I run the test script directly, 'perl -T t/00-load.t', the test passes. I tried using the $TZ environment variable instead of 'local', in WLP::UTILS. ($TZ is defined in my environment.) That gives me an 'Unknown error' with 'make test' but it still passes when run directly. The only way I can get this to work with 'make test' is to hardcode the timezone in WLP::UTILS, replacing 'local' with 'PST8PDT'. I really don't want to hardcode this. It seems like somehow the environment isn't quite right when I run the test via 'make test' so when DateTime tries to get the local timezone, it can't figure it out. Can I add something to Makefile.PL to make sure the timezone is in the environment? I checked the ExtUtils::MakeMaker pod but didn't see anything obvious that looked like it would set environment variables. I tried looking at the Test::Harness pod and code but didn't see anything there that might help explain what was going wrong, either. Does anyone have any ideas? I'm running Perl 5.8.8 on AIX 6.1. Thanks. Jerry Ursetti __ __ __ /_ / | (_ /\/\ / /__/ _ ) / \ Financial Data Systems and Analytics Management (805)557-4212 (Work) (805)732-8484 (Blackberry) CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Ursetti at wellpoint.com Thu Nov 8 10:13:38 2012 From: Jerry.Ursetti at wellpoint.com (Ursetti, Jerry) Date: Thu, 8 Nov 2012 18:13:38 +0000 Subject: [Thousand-Oaks-pm] Perl testing issue In-Reply-To: References: Message-ID: I figured out how to get make test to work. I took a guess and removed the -T flag from the test script and 'make test' now works. I think Module::Starter puts that into the 00-load.t test by default. Jerry Ursetti __ __ __ /_ / | (_ /\/\ / /__/ _ ) / \ Financial Data Systems and Analytics Management (805)557-4212 (Work) (805)732-8484 (Blackberry) From: Thousand-Oaks-pm [mailto:thousand-oaks-pm-bounces+jerry.ursetti=wellpoint.com at pm.org] On Behalf Of Ursetti, Jerry Sent: Monday, November 05, 2012 11:50 AM To: thousand-oaks-pm at pm.org Subject: [Thousand-Oaks-pm] Perl testing issue I'm hoping some of the Perl test experts in the group can help me out. I'm trying to do more testing of my modules. I haven't completely made it to TDD, but I am doing more testing. For the most part this is going OK. I've just run into an odd problem that has me stumped. I'm testing a module that uses one of my other modules. The second module uses the DateTime module and includes code to assign the local timezone to a variable. It sort of works like this: My module... ... Use WLP::UTILS; - WLP::UTILS module... o Use DateTime; o our $localtz = DateTime::TimeZone->new( name => 'local' ); I'm having trouble with the most basic test, just trying to use my module: #!perl -T use Test::More tests => 1; BEGIN { use_ok( 'WLP::TeradataBTEQ' ); } diag( "Testing WLP::TeradataBTEQ $WLP::TeradataBTEQ::VERSION, Perl $], $^X" ); When I run 'make test', the test fails with this error: 'Error: Cannot determine local time zone' If I run the test script directly, 'perl -T t/00-load.t', the test passes. I tried using the $TZ environment variable instead of 'local', in WLP::UTILS. ($TZ is defined in my environment.) That gives me an 'Unknown error' with 'make test' but it still passes when run directly. The only way I can get this to work with 'make test' is to hardcode the timezone in WLP::UTILS, replacing 'local' with 'PST8PDT'. I really don't want to hardcode this. It seems like somehow the environment isn't quite right when I run the test via 'make test' so when DateTime tries to get the local timezone, it can't figure it out. Can I add something to Makefile.PL to make sure the timezone is in the environment? I checked the ExtUtils::MakeMaker pod but didn't see anything obvious that looked like it would set environment variables. I tried looking at the Test::Harness pod and code but didn't see anything there that might help explain what was going wrong, either. Does anyone have any ideas? I'm running Perl 5.8.8 on AIX 6.1. Thanks. Jerry Ursetti __ __ __ /_ / | (_ /\/\ / /__/ _ ) / \ Financial Data Systems and Analytics Management (805)557-4212 (Work) (805)732-8484 (Blackberry) CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chardin at gmail.com Fri Nov 9 10:17:47 2012 From: chardin at gmail.com (Chuck Hardin) Date: Fri, 9 Nov 2012 10:17:47 -0800 Subject: [Thousand-Oaks-pm] Pizza at the next TO-PM! Message-ID: Those who were fortunate enough to attend the last Thousand Oaks Perl Mongers meeting may recall that Peter Bowen suggested that PM meetings go better with pizza. Peter is a software manager at ValueClick Media, our thoughtful hosts, and he has gotten approval from them to make that happen! We need a head count estimate so we know how much pizza to get. After all, there is no phrase more heartbreaking than "not enough pizza". Reply if you're coming, or risk heartbreak! I'm coming, but I shouldn't require more than two large pizzas. :) I look forward to seeing you there! Best, CCH -------------- next part -------------- An HTML attachment was scrubbed... URL: From daoswald at gmail.com Fri Nov 9 10:51:25 2012 From: daoswald at gmail.com (David Oswald) Date: Fri, 9 Nov 2012 10:51:25 -0800 Subject: [Thousand-Oaks-pm] Pizza at the next TO-PM! In-Reply-To: References: Message-ID: I'll be there (presenting on lessons learned from other languages: C++). On Fri, Nov 9, 2012 at 10:17 AM, Chuck Hardin wrote: > Those who were fortunate enough to attend the last Thousand Oaks Perl > Mongers meeting may recall that Peter Bowen suggested that PM meetings go > better with pizza. Peter is a software manager at ValueClick Media, our > thoughtful hosts, and he has gotten approval from them to make that happen! > > We need a head count estimate so we know how much pizza to get. After > all, there is no phrase more heartbreaking than "not enough pizza". > > Reply if you're coming, or risk heartbreak! I'm coming, but I shouldn't > require more than two large pizzas. :) > > I look forward to seeing you there! > > Best, > CCH > > > _______________________________________________ > ThousandOaks.pm - Thousand Oaks Perl Mongers > Website: http://thousand-oaks.pm.org/ > Mailing list: http://mail.pm.org/mailman/listinfo/thousand-oaks-pm > -- David Oswald daoswald at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From daoswald at gmail.com Wed Nov 14 12:34:29 2012 From: daoswald at gmail.com (David Oswald) Date: Wed, 14 Nov 2012 12:34:29 -0800 Subject: [Thousand-Oaks-pm] Thousand Oaks Perl Mongers Tonight! Message-ID: Just a reminder that TO PM is tonight. Topics: Lessons Learned from Other Languages: C++, and Show off your home-rolled solutions. 7:00pm at Value Click in Westlake Village. Bring your favorite utilities, and be thinking of things you've learned from other languages as well. Dave -- David Oswald daoswald at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at imaginative-software.com Wed Nov 28 13:22:18 2012 From: jeff at imaginative-software.com (Jeffrey Ryan Thalhammer) Date: Wed, 28 Nov 2012 13:22:18 -0800 Subject: [Thousand-Oaks-pm] Looking For A Couch To Surf on December 11, 12 Message-ID: Hey everyone- I am coming down and presenting to LA and Thousand Oaks PM on December 11 and 12, respectively. This is a self-funded trip, so I'm on a tight budget. I need a place to crash on both nights. We'll drink beer, sling code, talk shop, etc. And dinner is my treat. I'm extremely low-maintenance and low-impact. Anyone got an open couch for me? -Jeff