From tobert at gmail.com Tue Nov 14 12:01:07 2006 From: tobert at gmail.com (Al Tobey) Date: Tue, 14 Nov 2006 15:01:07 -0500 Subject: [grand-rapids-pm-list] November Perl Mongers Message-ID: <5ac7acb10611141201r754ff5efo8890f0015a4de60f@mail.gmail.com> Ok mongers. We need a volunteer speaker for this month. If I don't get any takers, we're going to let Matt Hahnfeld talk about how mod_perl and Apache work together. I think a single quote from Matt pretty much sums up his depth of knowledge: "I'm not doing anything illegal, I'm just using undocumented Apache features." I know I talked to somebody else about speaking this month, but can't remember the name. If you were planning on speaking this month, let me know before I book Matt. I also need everybody's ideas for the December social. We need to pick a date and venue. I'm currently thinking a 4:00 or 5:00pm event at someplace like Cambridge House or maybe Grand Rapids Brewing Company. There can be a topic, possibly perl poetry or some kind of perl-based game (think: what does this one-liner actually do? or some variant on pictionary but you have to code it). I'd like to have some fun, but need better ideas than I'm capable of having. -Al From keithh at ntbtrk.com Wed Nov 15 12:15:00 2006 From: keithh at ntbtrk.com (Keith Hinkle) Date: Wed, 15 Nov 2006 15:15:00 -0500 Subject: [grand-rapids-pm-list] grand-rapids-pm-list Digest, Vol 23, Issue 1 Message-ID: <38EC78772197ED408B22093F1B5A24C0E6FFF5@NTBAD.NATION.LAN> Is this meeting this Friday? Keith Hinkle Director of ITS 616-878-5563 www.ntbtrk.com -----Original Message----- From: grand-rapids-pm-list-bounces+keithh=ntbtrk.com at pm.org [mailto:grand-rapids-pm-list-bounces+keithh=ntbtrk.com at pm.org] On Behalf Of grand-rapids-pm-list-request at pm.org Sent: Wednesday, November 15, 2006 15:00 To: grand-rapids-pm-list at pm.org Subject: grand-rapids-pm-list Digest, Vol 23, Issue 1 Send grand-rapids-pm-list mailing list submissions to grand-rapids-pm-list at pm.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.pm.org/mailman/listinfo/grand-rapids-pm-list or, via email, send a message with subject or body 'help' to grand-rapids-pm-list-request at pm.org You can reach the person managing the list at grand-rapids-pm-list-owner at pm.org When replying, please edit your Subject line so it is more specific than "Re: Contents of grand-rapids-pm-list digest..." Today's Topics: 1. November Perl Mongers (Al Tobey) ---------------------------------------------------------------------- Message: 1 Date: Tue, 14 Nov 2006 15:01:07 -0500 From: "Al Tobey" Subject: [grand-rapids-pm-list] November Perl Mongers To: grand-rapids-pm-list at pm.org Message-ID: <5ac7acb10611141201r754ff5efo8890f0015a4de60f at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Ok mongers. We need a volunteer speaker for this month. If I don't get any takers, we're going to let Matt Hahnfeld talk about how mod_perl and Apache work together. I think a single quote from Matt pretty much sums up his depth of knowledge: "I'm not doing anything illegal, I'm just using undocumented Apache features." I know I talked to somebody else about speaking this month, but can't remember the name. If you were planning on speaking this month, let me know before I book Matt. I also need everybody's ideas for the December social. We need to pick a date and venue. I'm currently thinking a 4:00 or 5:00pm event at someplace like Cambridge House or maybe Grand Rapids Brewing Company. There can be a topic, possibly perl poetry or some kind of perl-based game (think: what does this one-liner actually do? or some variant on pictionary but you have to code it). I'd like to have some fun, but need better ideas than I'm capable of having. -Al ------------------------------ _______________________________________________ grand-rapids-pm-list mailing list grand-rapids-pm-list at pm.org http://mail.pm.org/mailman/listinfo/grand-rapids-pm-list End of grand-rapids-pm-list Digest, Vol 23, Issue 1 *************************************************** From brian at bartosoft.com Tue Nov 21 08:27:00 2006 From: brian at bartosoft.com (brian at bartosoft.com) Date: Tue, 21 Nov 2006 11:27:00 -0500 (EST) Subject: [grand-rapids-pm-list] Next Meeting Message-ID: <44904.167.73.110.8.1164126420.squirrel@www.bartosoft.com> Hi all, Just subscribed to the list. I was looking forward to joining and meeting everyone at the next monthly meeting. However I see that the site (http://grand-rapids.pm.org/) does not have the next meeting listed. Will there be a meeting this month? A short introduction about me :) I work for Spectrum Health, been programming in perl for 6 years, a huge unix geek (AIX @ work, FreeBSD @ home), work a lot in web site development with mason and embperl in my spare time, love learning new ways to dazzle my peers and leaders with perl-based solutions to seemingly difficult problems (especially when proprietary solutions cost mucho $$$ and perl is free!), and generally love to meet others with similar interests. Thanks, Brian From tobert at gmail.com Tue Nov 21 10:52:17 2006 From: tobert at gmail.com (Al Tobey) Date: Tue, 21 Nov 2006 13:52:17 -0500 Subject: [grand-rapids-pm-list] Next Meeting In-Reply-To: <44904.167.73.110.8.1164126420.squirrel@www.bartosoft.com> References: <44904.167.73.110.8.1164126420.squirrel@www.bartosoft.com> Message-ID: <5ac7acb10611211052p7b2c1593o38c4194ecd27f993@mail.gmail.com> Brian, I will be sending a formal anouncement soon - consider this the informal anouncement. Because of Thanksgiving, the meeting will be on Friday, December 1. It starts at 11:30am at the Priority Health Conference Center. Priority Health Conference Center http://maps.google.com/maps?q=3111+Leonard+St+NE,+Grand+Rapids,+MI+49525+(Priority%20Health%20Conference%20Center)&spn=0.016144,0.039312&hl=en Matt Hahnfeld will be exposing Apache for what it really is ... I mean show how to 'sploit the internals of Apache ... err ... We really like to razz Matt here at Priority Health for his ability to find new ways to utilize the internals of Apache and mod_perl to get the job done faster and better than before. He will be talking about how he does this and how you can do it, too. Hope to see you there! -Al Tobey President, Grand Rapids Perl Mongers On 11/21/06, brian at bartosoft.com wrote: > > Hi all, > > Just subscribed to the list. I was looking forward to joining and meeting > everyone at the next monthly meeting. However I see that the site > (http://grand-rapids.pm.org/) does not have the next meeting listed. Will > there be a meeting this month? > > A short introduction about me :) > > I work for Spectrum Health, been programming in perl for 6 years, a huge > unix geek (AIX @ work, FreeBSD @ home), work a lot in web site development > with mason and embperl in my spare time, love learning new ways to dazzle > my peers and leaders with perl-based solutions to seemingly difficult > problems (especially when proprietary solutions cost mucho $$$ and perl is > free!), and generally love to meet others with similar interests. > > Thanks, > Brian > > _______________________________________________ > grand-rapids-pm-list mailing list > grand-rapids-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/grand-rapids-pm-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/grand-rapids-pm-list/attachments/20061121/43f35b76/attachment.html From jdeyoung at gfs.com Thu Nov 30 06:39:29 2006 From: jdeyoung at gfs.com (John DeYoung) Date: Thu, 30 Nov 2006 09:39:29 -0500 Subject: [grand-rapids-pm-list] Log::Dispatch:FileRotate Message-ID: <456EA6D1020000F10001CF32@mail2.gfs.com> I have a callback method I use to dynamically return the logfile name I want Log4perl to use log4perl.appender.FileAppender.filename=sub{ return getLogFileName(); }. The method, defined in main:: is sub getLogFileName { return $logFileName; } This works just fine when I'm using, Log::Log4perl::Appender::File. However, I'd like to switch to Log::Dispatch::FileRotate, to leverage the date rotation. Unfortunately, using the callback method doesn't seem to work. I haven't changed the text of the method and my rotator definition is as follows: log4perl.appender.FileRotator=Log::Dispatch::FileRotate log4perl.appender.FileRotator.filename=sub { return getLogFileName(); } log4perl.appender.FileRotator.min_level=info log4perl.appender.FileRotator.mode=append log4perl.appender.FileRotator.max=2 log4perl.appender.FileRotator.TZ=GMT log4perl.appender.FileRotator.DatePattern=0:0:0:1:0:0:0 log4perl.appender.FileRotator.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.FileRotator.layout.ConversionPattern=${default_layout_format} When my script is run, the correct log file is created but, nothing is written to it. To find out whether the problem is in the config file or the callback method, I changed the callback method to the following, sub getLogFileName { my $string = "c:\winnt\temp\util\util.log"; return $string; } This works just fine. The log file is created and output written to it, as expected. My problem is that I want to build the log file name dynamically, depending on which environment and other factors. I've tried several different ways to pass the dynamic text "quoted", to no avail. The closest I've come is to have a "CODEhhhhhh" reference passed to config but, I'm not sure how to dereference that into a string. Any advice would be appreciated. From tobert at gmail.com Thu Nov 30 07:58:59 2006 From: tobert at gmail.com (Al Tobey) Date: Thu, 30 Nov 2006 10:58:59 -0500 Subject: [grand-rapids-pm-list] perl mongers is tomorrow Message-ID: <5ac7acb10611300758r17c69451y616bf68cdc2b05f4@mail.gmail.com> The Grand Rapids Perl Mongers will be meeting tomorrow at 11:30am at the Priority Health Conference Center. Pizza will be provided, as will the entertainment. Abstract: Matt Hahnfeld will be talking about the Apache 2 lifecycle and how to pollute it ... err modify it from mod_perl 2. Specifically, Matt has used Apache 2 to implement a single sign-on solution that works across multiple applications written in multiple languages, running on multiple platforms. His examples will be based on this work. Door Prizes: SAM's Publishing: Ajax for Web Application Developers Others, when I find them ;) Did I mention free pizza for everybody? Directions: The Priority Health Conference Center - is at the corner of East Beltline and Leonard St. It is on the North side of Leonard in the old Funeral Home building, parking is available behind the building. Please use the entrance from Leonard Street. http://maps.google.com/maps?q=3111+Leonard+St+NE,+Grand+Rapids,+MI+49525+(Priority%20Health%20Conference%20Center)&spn=0.016144,0.039312&hl=en Sorry for the late anouncement. See you there! -Al Tobey