From josh at agliodbs.com Tue Aug 1 15:14:14 2006 From: josh at agliodbs.com (Josh Berkus) Date: Tue, 1 Aug 2006 15:14:14 -0700 Subject: [sf-perl] DB design question In-Reply-To: References: Message-ID: <200608011514.14830.josh@agliodbs.com> Rich, > This is one of those questions where there is no shortage of > answers, but some are likely to be a lot better (for various > reasons) than the others. So, I'm hoping for suggestions, > rationales, etc. Per previous discussions, you're up against your desire to use a completely anonymous and flexible database structure (the EAV setup) and the need for performance. Billions of entities is pushing the envelope for relational db performance, so you are at the point where your design may center around performance and not around the logical, or normalized, design. In fact, given how little use you'll be making of relational features, I would investigate how well object databases would hold up to your needs. They probably won't -- last I checked, most ODBs use hash indexes exclusively -- but it's worth a check. Or possibly there's another specialized database type. If I were doing your project in Postgres, it would require some hacking. Here's what I'd do: 1) extend the intarray module to support the new Generic Inverted Indexes available in PostgreSQL 8.2 (alpha); 2) improve GIN to support compression per Teodor's notes; 3) Create a denormalized table to hold entites and attributes: entity ( name text not null primary key attributes intarray ) then you can do queries like: select name from entities where attribues @@ ARRAY[57,201,399,18] >= 3; .... for "get me all entities which have at least three of the four attributes 57, 201, 399 and 18". However, make no mistake: the project you're lanuching will be technically challenging and may require you to learn to hack RDBMS code to get acceptable performance (or to hire someone who can). -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco From david at fetter.org Tue Aug 1 15:31:06 2006 From: david at fetter.org (David Fetter) Date: Tue, 1 Aug 2006 15:31:06 -0700 Subject: [sf-perl] DB design question In-Reply-To: <200608011514.14830.josh@agliodbs.com> References: <200608011514.14830.josh@agliodbs.com> Message-ID: <20060801223106.GS12900@fetter.org> On Tue, Aug 01, 2006 at 03:14:14PM -0700, Josh Berkus wrote: > Rich, > > > This is one of those questions where there is no shortage of > > answers, but some are likely to be a lot better (for various > > reasons) than the others. So, I'm hoping for suggestions, > > rationales, etc. > > Per previous discussions, you're up against your desire to use a completely > anonymous and flexible database structure (the EAV setup) and the need for > performance. Billions of entities is pushing the envelope for relational > db performance, so you are at the point where your design may center > around performance and not around the logical, or normalized, design. > > In fact, given how little use you'll be making of relational features, I > would investigate how well object databases would hold up to your needs. > They probably won't -- last I checked, most ODBs use hash indexes > exclusively -- but it's worth a check. Or possibly there's another > specialized database type. > > If I were doing your project in Postgres, it would require some hacking. > Here's what I'd do: > > 1) extend the intarray module to support the new Generic Inverted Indexes > available in PostgreSQL 8.2 (alpha); > > 2) improve GIN to support compression per Teodor's notes; > > 3) Create a denormalized table to hold entites and attributes: > > entity ( > name text not null primary key > attributes intarray > ) > > then you can do queries like: > > select name from entities where attribues @@ ARRAY[57,201,399,18] >= 3; > > .... for "get me all entities which have at least three of the four > attributes 57, 201, 399 and 18". > > However, make no mistake: the project you're lanuching will be > technically challenging and may require you to learn to hack RDBMS > code to get acceptable performance (or to hire someone who can). So we're talking about multiple years of effort just on this piece, possibly multiple hundreds of thousand of dollars, as people people competent to mess with RDBMS code don't come cheap, and no guarantee even the most modest level of success. Rich, how about something a little less risky like designing your schema and worrying about extending it later if need be? Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From friedman at highwire.stanford.edu Wed Aug 2 14:06:06 2006 From: friedman at highwire.stanford.edu (Michael Friedman) Date: Wed, 2 Aug 2006 14:06:06 -0700 Subject: [sf-perl] installing CPAN inside firewall In-Reply-To: References: Message-ID: What I did to reconfigure CPAN on my setup was to go ahead and configure it normally, but then go edit the Config.pm file it created. In that file, I just removed the paths to the apps that it shouldn't use and after that it started with the one that I knew worked. You could re-run the configuration script and just null out the paths in there, but that takes longer. -- Mike On Jul 31, 2006, at 10:25 PM, Vicki Brown wrote: > My Current Job (tm) includes a FreeBSD box under the desk. Said box is > running Perl 5.005 and is accessible via VPN. > > I can get out from that box over sftp. > AFAIK, nothing else much works. > > When I attempt to run > Perl -MCPAN -e shell > Perl wants to set up and configure CPAN. > > it insists on trying lynx, followed by ncftpget (neither of which > work). > There appears to be no easy way to tell it "Please don't try those; > just use > sftp". > > I can't even substitute sftp for ftp because it wants to use a > nontransferable -n flag. > > It would be kinda nice to upgrade Perl. I could just pull down the > sources > directly I suppose but... > > Please don't recommend that I use the Free BSD Ports Collection. > It's not > available. I think I'm lucky to have Perl 5.005... > -- > - Vicki > > ZZZ > zzZ San Francisco Bay Area, CA > z |\ _,,,---,,_ Books, Cats, Tech > zz /,`.-'`' -. ;-;;,_ http://cfcl.com/vlb > |,4- ) )-,_. ,\ ( `'-' http://cfcl.com/vlb/weblog > '---''(_/--' `-'\_) http://vlb.typepad.com/commentary/ > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm --------------------------------------------------------------------- Michael Friedman HighWire Press Phone: 650-725-1974 Stanford University FAX: 270-721-8034 --------------------------------------------------------------------- From extasia at extasia.org Thu Aug 3 13:11:24 2006 From: extasia at extasia.org (David Alban) Date: Thu, 3 Aug 2006 13:11:24 -0700 Subject: [sf-perl] A bit of an eye opener with capture variables Message-ID: <4c714a9c0608031311j300b69ean831c2f695a91ea2a@mail.gmail.com> I'm reading Perl Best Practices and came across (p.253): Pattern matches that fail never assign anything to $1, $2, etc., NOR DO THEY LEAVE THOSE VARIABLES UNDEFINED. [emphasis mine] I've always thought that anything that didn't get matched was made to be undef. I was very surprised to learn otherwise: #!/usr/bin/perl use warnings; use strict; my $strings = [ "d e f", "b c", "a", ]; for my $s ( @$strings ) { print qq{'$s'\n}; $s =~ m{ \A \s* ( \S+ ) \s* ( \S+ ) \s* ( \S+ ) }xms; my ( $a, $b, $c ) = ( $1, $2, $3 ); print " a => ", defined $a ? "<$a>" : "UNDEF", "\n"; print " b => ", defined $b ? "<$b>" : "UNDEF", "\n"; print " c => ", defined $c ? "<$c>" : "UNDEF", "\n"; } # for This prints: 'd e f' a => b => c => 'b c' a => b => c => UNDEF 'a' a => b => c => UNDEF Yikes! The book goes on to explain this by saying that if a match fails, a capture variable "may have been set by some earlier successful match in the same scope". So I tried changing the scope in which the match is done: for my $s ( @$strings ) { print "'$s'\n"; my ( $a, $b, $c ); do { $s =~ m{ \A \s* ( \S+ ) \s* ( \S+ ) \s* ( \S+ ) }xms; ( $a, $b, $c ) = ( $1, $2, $3 ); }; print " a => ", defined $a ? "<$a>" : "UNDEF", "\n"; print " b => ", defined $b ? "<$b>" : "UNDEF", "\n"; print " c => ", defined $c ? "<$c>" : "UNDEF", "\n"; } # for and got the results I had previously (erroneously) expected: 'd e f' a => b => c => 'b c' a => UNDEF b => UNDEF c => UNDEF 'a' a => UNDEF b => UNDEF c => UNDEF Like I say, a bit of an eye opener. David -- Live in a world of your own, but always welcome visitors. From andy at petdance.com Thu Aug 3 13:13:46 2006 From: andy at petdance.com (Andy Lester) Date: Thu, 3 Aug 2006 15:13:46 -0500 Subject: [sf-perl] A bit of an eye opener with capture variables In-Reply-To: <4c714a9c0608031311j300b69ean831c2f695a91ea2a@mail.gmail.com> References: <4c714a9c0608031311j300b69ean831c2f695a91ea2a@mail.gmail.com> Message-ID: On Aug 3, 2006, at 3:11 PM, David Alban wrote: > I've always thought that anything that didn't get matched was made to > be undef. I was very surprised to learn otherwise: Right, I've made that assumption, too, and it makes things very sad. You always want to check for the truth of the match operator: if ( $str =~ /(something)/ ) { ... then I can use $1; } -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From extasia at extasia.org Fri Aug 4 14:45:16 2006 From: extasia at extasia.org (David Alban) Date: Fri, 4 Aug 2006 14:45:16 -0700 Subject: [sf-perl] [OT] Fwd: Wiretapping routers In-Reply-To: <5942ED93-F8B8-4583-AA54-AD7B426D473F@extragalactic.net> References: <5942ED93-F8B8-4583-AA54-AD7B426D473F@extragalactic.net> Message-ID: <4c714a9c0608041445i4cd195eak12262afc8892ee2f@mail.gmail.com> ---------- Forwarded message ---------- From: Guy B. Purcell Date: Aug 4, 2006 1:18 PM Subject: [baylisa] Wiretapping routers To: baylisa A co-worker just sent me this link . Will it never end?! Well, maybe this will help push through more global adoption of full end-to-end encryption technology, but that won't help the low-level routing & ICMP traffic, of course. Geez. -Guy -- Live in a world of your own, but always welcome visitors. From qw at sf.pm.org Tue Aug 8 00:30:09 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Tue, 8 Aug 2006 00:30:09 -0700 Subject: [sf-perl] Special meeting next week: Andy Lester on technical debt Message-ID: <20060808073009.GC19625@fu.funkspiel.org> I'm happy to announce that Andy Lester will be returning for a special meeting a week from today (Tuesday). Andy will speak on technical debt[1] and how to get out of it. 7:00 p.m. (not our usual time) Tuesday, August 15, 2006 (not our usual date) BGI, 45 Fremont St., San Francisco: http://tinyurl.com/pzq9f There will be food. RSVP to Jeff.Thalhammer at barclaysglobal.com. Big thanks to Jeff for providing the venue and the food. Mondo thanks to Andy for offering to appear during his trip to LinuxWorld. :) [1] Technical debt is that nasty condition companies get into where the codebase is crufty, poorly documented, and hard to test, and everyone is terrified of changing anything. "Just like financial debt, it's the compound interest on technical debt that snowballs until you can no longer manage," Andy writes. Come learn how to pay down your biggest debts before that happens. -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From mehryar at mehryar.com Tue Aug 8 02:34:43 2006 From: mehryar at mehryar.com (mehryar) Date: Tue, 8 Aug 2006 02:34:43 -0700 (PDT) Subject: [sf-perl] [OT] svn diff Message-ID: Off-topic but I haven't been able to find a good answer, anyone know how I can get cvs style diff output with "svn diff"? thanks, -Mehryar From andy at petdance.com Tue Aug 8 04:07:44 2006 From: andy at petdance.com (Andy Lester) Date: Tue, 8 Aug 2006 06:07:44 -0500 Subject: [sf-perl] [OT] svn diff In-Reply-To: References: Message-ID: On Aug 8, 2006, at 4:34 AM, mehryar wrote: > > Off-topic but I haven't been able to find a good answer, anyone > know how I > can get cvs style diff output with "svn diff"? You tell svn to use an external diff program, like /usr/bin/diff, and then pass whatever flags you like. Not sure what the command-line switches are to do this, but svn help diff should have it all. I'm going back to bed after I let the dog back in. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From mehryar at mehryar.com Tue Aug 8 13:29:34 2006 From: mehryar at mehryar.com (mehryar) Date: Tue, 8 Aug 2006 13:29:34 -0700 (PDT) Subject: [sf-perl] [OT] svn diff In-Reply-To: References: Message-ID: Thanks Andy, I finally figured it out: Here is how to use an external diff command with svn: svn diff --diff-cmd /usr/bin/diff --extensions '-b' $file_to_diff But since you wouldn't want to type this out every time you do a svn diff you can put something in your ~/.subversion/config file. And what that maybe, I couldn't figure out very well, so here is what I got: in my .subversion/config file: ----------------------------- ### Set diff-cmd to the absolute path of your 'diff' program ### ... diff-cmd = /home/mehryar/bin/my_svn_diff ------------------------------ and my_svn_diff looks like: ----------------------------- #!/usr/bin/bash /usr/bin/diff -b $6 $7 # where $6 and $7 are the file args that svn passes to its diff command # and -b is just what I like to pass as an argument to my diff command ----------------------------- cheers, -Mehryar On Tue, 8 Aug 2006, Andy Lester wrote: > > On Aug 8, 2006, at 4:34 AM, mehryar wrote: > > > > > Off-topic but I haven't been able to find a good answer, anyone > > know how I > > can get cvs style diff output with "svn diff"? > > You tell svn to use an external diff program, like /usr/bin/diff, and > then pass whatever flags you like. > > Not sure what the command-line switches are to do this, but svn help > diff should have it all. I'm going back to bed after I let the dog > back in. > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > ------------------------------------------------------- ... with proper design, the features come cheaply. This approach is arduous, but continues to succeed. ---Dennis Ritchie From asheesh at asheesh.org Tue Aug 8 10:57:42 2006 From: asheesh at asheesh.org (Asheesh Laroia) Date: Tue, 08 Aug 2006 21:57:42 +0400 Subject: [sf-perl] installing CPAN inside firewall In-Reply-To: References: Message-ID: <44D8D096.5070404@asheesh.org> Vicki Brown wrote: > My Current Job (tm) includes a FreeBSD box under the desk. Said box is > running Perl 5.005 and is accessible via VPN. > > I can get out from that box over sftp. > AFAIK, nothing else much works. Does ssh (rather than sftp) work? If so, you should be able to use ssh -D ("dynamic forwarding") to create a SOCKS5 proxy that you can configure CPAN to use. Here's a sample: $ ssh -N -D 1080 remoteusername at remotehost.domain.net Password: xxxxx "-N" means "don't run a shell on login" If your version of SSH is too old to support this, compiling openssh and copying the resulting ssh binary into your user's $PATH should be easy enough and would not touch the system's SSH. Once you've done that, you should be able to configure CPAN to use a SOCKS5 proxy (host: localhost; port: 1080) and then regular LWP HTTP should work fine through it since all HTTP will go through the tunnel made by SSH and through the remote machine. It might feel like a heavy hammer, but I find it makes life easier when I'm on frustratingly-restricted networks. You can combine this with the program "tsocks" to transparently redirect all connect() calls through the SOCKS proxy created by ssh. Best of luck! -- Asheesh. -- You will be surprised by a loud noise. From dan at keller.com Tue Aug 8 20:57:42 2006 From: dan at keller.com (Dan Keller) Date: Tue, 08 Aug 2006 20:57:42 -0700 Subject: [sf-perl] [OT] Fwd: Wiretapping routers In-Reply-To: <4c714a9c0608041445i4cd195eak12262afc8892ee2f@mail.gmail.co m> References: <5942ED93-F8B8-4583-AA54-AD7B426D473F@extragalactic.net> <4c714a9c0608041445i4cd195eak12262afc8892ee2f@mail.gmail.com> Message-ID: <6.2.3.4.2.20060808205553.024a4a28@mail.keller.com> At 02:45 PM 8/4/2006, you wrote: >---------- Forwarded message ---------- >From: Guy B. Purcell >Date: Aug 4, 2006 1:18 PM >Subject: [baylisa] Wiretapping routers >To: baylisa > >A co-worker just sent me this link >. > Will it >never end?! Well, maybe this will help push through more global >adoption of full end-to-end encryption technology, but that won't >help the low-level routing & ICMP traffic, of course. Geez. > >-Guy >-- >Live in a world of your own, but always welcome visitors. >_______________________________________________ >SanFrancisco-pm mailing list >SanFrancisco-pm at pm.org >http://mail.pm.org/mailman/listinfo/sanfrancisco-pm Geez is right. The shameless government intrusion makes the blood run cold... Brrr... Thanks for this post! Dan Keller dan at keller.com http://www.keller.com/dan +1 415 861-4500 (voice) +1 415 861-4593 (fax) From Peter.Loo at source.wolterskluwer.com Wed Aug 9 16:25:31 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 9 Aug 2006 16:25:31 -0700 Subject: [sf-perl] How to monitor a spawned sub-process Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> Hi All, I was wondering if there is a good way to monitor a spawned process within a Perl program. For example: I am using Perl DBI to run a SQL command. However, I would like to give the SQL process some time to complete and at some point break out and quit if a set time has been exceeded. Code example: eval { $dbh->do("insert into table1 select a.col1, a.col2, b.col4 from table1 a, table2 b"); }; So if the above process does not complete after 10 minutes, I was to quit out of the program. Hope this information is clear. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060809/09f15f42/attachment.html From herbr at pfinders.com Wed Aug 9 17:09:45 2006 From: herbr at pfinders.com (Herb Rubin) Date: Wed, 9 Aug 2006 17:09:45 -0700 (PDT) Subject: [sf-perl] How to monitor a spawned sub-process In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> Message-ID: <23394259.16041155168585760.JavaMail.root@z01.pfinders.com> Peter, Fork it and check the process after 10 minutes. You'll have the process id in the parent fork. Herb ----- Original Message ----- From: Peter # PHX Loo To: sfpug at sf.pm.org Sent: Wednesday, August 9, 2006 4:25:31 PM GMT-0800 Subject: [sf-perl] How to monitor a spawned sub-process Hi All, I was wondering if there is a good way to monitor a spawned process within a Perl program. For example: I am using Perl DBI to run a SQL command. However, I would like to give the SQL process some time to complete and at some point break out and quit if a set time has been exceeded. Code example: eval { $dbh->do("insert into table1 select a.col1, a.col2, b.col4 from table1 a, table2 b"); }; So if the above process does not complete after 10 minutes, I was to quit out of the program. Hope this information is clear. Peter -- Herb Rubin Pathfinders Software http://www.pfinders.com From garth.webb at gmail.com Wed Aug 9 16:30:55 2006 From: garth.webb at gmail.com (Garth Webb) Date: Wed, 9 Aug 2006 16:30:55 -0700 Subject: [sf-perl] How to monitor a spawned sub-process In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> Message-ID: It sounds like you want to set an alarm. See "perldoc -f alarm" for more details. Garth On 8/9/06, Loo, Peter # PHX wrote: > > Hi All, > > I was wondering if there is a good way to monitor a spawned process within > a Perl program. For example: I am using Perl DBI to run a SQL command. > However, I would like to give the SQL process some time to complete and at > some point break out and quit if a set time has been exceeded. Code > example: > > eval { > $dbh->do("insert into table1 select a.col1, a.col2, b.col4 from table1 > a, table2 b"); > }; > > So if the above process does not complete after 10 minutes, I was to quit > out of the program. > > Hope this information is clear. > > Peter > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060809/9e5ba1e7/attachment.html From Peter.Loo at source.wolterskluwer.com Wed Aug 9 16:57:42 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 9 Aug 2006 16:57:42 -0700 Subject: [sf-perl] How to monitor a spawned sub-process In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C2609A@phxmail02.phx.ndchealth.com> Wow! Excellent ideas on both (alarm and fork). I will look into them. Thanks for your input. Peter ________________________________ From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Garth Webb Sent: Wednesday, August 09, 2006 4:31 PM To: San Francisco Perl Mongers User Group Cc: sfpug at sf.pm.org Subject: Re: [sf-perl] How to monitor a spawned sub-process It sounds like you want to set an alarm. See "perldoc -f alarm" for more details. Garth On 8/9/06, Loo, Peter # PHX < Peter.Loo at source.wolterskluwer.com > wrote: Hi All, I was wondering if there is a good way to monitor a spawned process within a Perl program. For example: I am using Perl DBI to run a SQL command. However, I would like to give the SQL process some time to complete and at some point break out and quit if a set time has been exceeded. Code example: eval { $dbh->do("insert into table1 select a.col1, a.col2, b.col4 from table1 a, table2 b"); }; So if the above process does not complete after 10 minutes, I was to quit out of the program. Hope this information is clear. Peter _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060809/18305afa/attachment.html From Peter.Loo at source.wolterskluwer.com Wed Aug 9 16:57:42 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 9 Aug 2006 16:57:42 -0700 Subject: [sf-perl] How to monitor a spawned sub-process In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C2609A@phxmail02.phx.ndchealth.com> Wow! Excellent ideas on both (alarm and fork). I will look into them. Thanks for your input. Peter ________________________________ From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Garth Webb Sent: Wednesday, August 09, 2006 4:31 PM To: San Francisco Perl Mongers User Group Cc: sfpug at sf.pm.org Subject: Re: [sf-perl] How to monitor a spawned sub-process It sounds like you want to set an alarm. See "perldoc -f alarm" for more details. Garth On 8/9/06, Loo, Peter # PHX < Peter.Loo at source.wolterskluwer.com > wrote: Hi All, I was wondering if there is a good way to monitor a spawned process within a Perl program. For example: I am using Perl DBI to run a SQL command. However, I would like to give the SQL process some time to complete and at some point break out and quit if a set time has been exceeded. Code example: eval { $dbh->do("insert into table1 select a.col1, a.col2, b.col4 from table1 a, table2 b"); }; So if the above process does not complete after 10 minutes, I was to quit out of the program. Hope this information is clear. Peter _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060809/18305afa/attachment-0003.html From david at fetter.org Wed Aug 9 17:25:26 2006 From: david at fetter.org (David Fetter) Date: Wed, 9 Aug 2006 17:25:26 -0700 Subject: [sf-perl] How to monitor a spawned sub-process In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01C26061@phxmail02.phx.ndchealth.com> Message-ID: <20060810002526.GB13298@fetter.org> On Wed, Aug 09, 2006 at 04:25:31PM -0700, Loo, Peter # PHX wrote: > > Hi All, > > > > I was wondering if there is a good way to monitor a spawned process > within a Perl program. For example: I am using Perl DBI to run a > SQL command. However, I would like to give the SQL process some > time to complete and at some point break out and quit if a set > time has been exceeded. Code example: Others have hit the more general case, but for this particular one, your DBMS should let you set the statement timeout for a given query, so you'd do something like: $dbh->begin_work(); $dbh->do('SET statement_timeout=60000'); # milliseconds :) $sth = $dbh->prepare(<execute(@foo); if ($DBI::errstr) { # handling error here... } else { $dbh->commit(); } HTH :) Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From doom at kzsu.stanford.edu Thu Aug 10 11:04:22 2006 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Thu, 10 Aug 2006 11:04:22 -0700 Subject: [sf-perl] Linuxworld on Tuesday Message-ID: <200608101804.k7AI4NQ94852@mail0.rawbw.com> I just thought I'd mention that the Oakland PM guys have a little gathering going at the Linuxworld Expo on Tuesday afternoon that we might like to crash: http://www.metaart.org/opug/ Next Scheduled Event * type event: outing. * to: LinuxWorld Expo. * when: 2pm-??, Tuesday, August 15th, 2006. * where: Moscone Center, San Francisco. * activities: o meet at the O'Reilly booth at 2pm. o miscellaneous discussion. o wander around the exhibits, but not necessarily all in one group. o ... * who: open to anyone interested. * how much: We collect no fee for our events/meetings. You should be able to get into LinuxWorld for free if you sign up early for exhibits only. * RSVP: is helpful but is not required. (And similarly, since those guys are going to be on this side of the bay on Tuesday, we ought to make sure they know about the Andy Lester talk...) And by the way, if this new IDG policy irritates you as much as it does me, you might be inspired to complain: Age Policy LinuxWorld Conference & Expo is open to business professionals only. No one under 18 years of age will be admitted. To email the Show Director, Public Relations Manager and three Marketing folks, you can use these addresses: melinda_kendall at idg.com, charlotte_mccormack at idg.com, lisa-jean_clifford at idg.com, briana_pontremoli at idg.com, jordan_casey at idg.com From andy at petdance.com Thu Aug 10 11:17:04 2006 From: andy at petdance.com (Andy Lester) Date: Thu, 10 Aug 2006 13:17:04 -0500 Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: <200608101804.k7AI4NQ94852@mail0.rawbw.com> References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> Message-ID: <95458D1A-0E11-4A6D-8701-F64F5AC1DC8D@petdance.com> Be sure to stop by the Socialtext booth, too! I'll probably be hanging out around there for most of Tue & Wed. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From josh at agliodbs.com Thu Aug 10 11:46:02 2006 From: josh at agliodbs.com (Josh Berkus) Date: Thu, 10 Aug 2006 11:46:02 -0700 Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: <95458D1A-0E11-4A6D-8701-F64F5AC1DC8D@petdance.com> References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> <95458D1A-0E11-4A6D-8701-F64F5AC1DC8D@petdance.com> Message-ID: <200608101146.02929.josh@agliodbs.com> All, > Be sure to stop by the Socialtext booth, too! I'll probably be > hanging out around there for most of Tue & Wed. ... and the PostgreSQL booth. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco From Peter.Loo at source.wolterskluwer.com Thu Aug 10 11:49:11 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 10 Aug 2006 11:49:11 -0700 Subject: [sf-perl] use POSIX qw(mkfifo); Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C26397@phxmail02.phx.ndchealth.com> Hi All, Can someone please tell me how I can find out what version of POSIX mkfifo that I have on my system from the command line? Thanks in advance. Peter Loo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060810/0ffff322/attachment.html From andy at petdance.com Thu Aug 10 11:54:53 2006 From: andy at petdance.com (Andy Lester) Date: Thu, 10 Aug 2006 13:54:53 -0500 Subject: [sf-perl] use POSIX qw(mkfifo); In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01C26397@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01C26397@phxmail02.phx.ndchealth.com> Message-ID: On Aug 10, 2006, at 1:49 PM, Loo, Peter # PHX wrote: > Can someone please tell me how I can find out what version of POSIX > mkfifo that I have on my system from the command line? $ perl -MPOSIX -le'print $POSIX::VERSION' -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From andy at petdance.com Thu Aug 10 11:54:53 2006 From: andy at petdance.com (Andy Lester) Date: Thu, 10 Aug 2006 13:54:53 -0500 Subject: [sf-perl] use POSIX qw(mkfifo); In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01C26397@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01C26397@phxmail02.phx.ndchealth.com> Message-ID: On Aug 10, 2006, at 1:49 PM, Loo, Peter # PHX wrote: > Can someone please tell me how I can find out what version of POSIX > mkfifo that I have on my system from the command line? $ perl -MPOSIX -le'print $POSIX::VERSION' -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From george at metaart.org Thu Aug 10 12:43:14 2006 From: george at metaart.org (George Woolley) Date: Thu, 10 Aug 2006 12:43:14 -0700 Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: <200608101804.k7AI4NQ94852@mail0.rawbw.com> References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> Message-ID: <200608101243.14960.george@metaart.org> Hi, George Woolley of Oakland.pm here. == LinuxWorld Outing Anyone interested is welcome to join us -- and especially people from SanFrancisco.pm. If you are thinking of coming to the Outing, the following notes (extracted from a post to our mailing list) may be useful: (1) If you haven't already, I suggest signing up now ? ? ? so you won't forget and so you won't have to pay to get in. (2) The O'Reilly booth is #928 this year. (3) Tentative Exhibits List to Visit: ? ? http://camelot.schtuff.com/linuxworld_2006_outing == Andy Lester Talk It sounds like an interesting talk. Any of you who are on the Oakland.pm list, are welcome to post pointing out that the evening of the Outing Andy Lester is giving his talk. Giving some details such as time, location, who to RSVP to would be good too. Also, if you aren't on the list, you could send me something including an explicit request that it be forwarded to the list. If you come to the Outing, you are also welcome to bring up the subject and encourage people to go to the talk. George On Thursday 10 August 2006 11:04, Joseph Brenner wrote: > I just thought I'd mention that the Oakland PM guys have a > little gathering going at the Linuxworld Expo on Tuesday > afternoon that we might like to crash: > > http://www.metaart.org/opug/ > > Next Scheduled Event > > * type event: outing. > * to: LinuxWorld Expo. > * when: 2pm-??, Tuesday, August 15th, 2006. > * where: Moscone Center, San Francisco. > * activities: > o meet at the O'Reilly booth at 2pm. > o miscellaneous discussion. > o wander around the exhibits, > but not necessarily all in one group. > o ... > > * who: open to anyone interested. > > * how much: We collect no fee for our events/meetings. You > should be able to get into LinuxWorld for free if you sign > up early for exhibits only. > > * RSVP: is helpful but is not required. > > (And similarly, since those guys are going to be on this side of > the bay on Tuesday, we ought to make sure they know about the > Andy Lester talk...) > > > > And by the way, if this new IDG policy irritates you as much as > it does me, you might be inspired to complain: > > Age Policy > LinuxWorld Conference & Expo is open to business professionals > only. No one under 18 years of age will be admitted. > > To email the Show Director, Public Relations Manager and three > Marketing folks, you can use these addresses: > > melinda_kendall at idg.com, > charlotte_mccormack at idg.com, > lisa-jean_clifford at idg.com, > briana_pontremoli at idg.com, > jordan_casey at idg.com > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm From Peter.Loo at source.wolterskluwer.com Thu Aug 10 12:48:38 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 10 Aug 2006 12:48:38 -0700 Subject: [sf-perl] use POSIX qw(mkfifo); In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C7746A@phxmail02.phx.ndchealth.com> Thanks Andy. I don't know where I am getting this error message from. POSIX version is 1.08. Error: packet header version '9' does not match expected '7' - client and server versions may be different. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Andy Lester Sent: Thursday, August 10, 2006 11:55 AM To: San Francisco Perl Mongers User Group Cc: sfpug at sf.pm.org Subject: Re: [sf-perl] use POSIX qw(mkfifo); On Aug 10, 2006, at 1:49 PM, Loo, Peter # PHX wrote: > Can someone please tell me how I can find out what version of POSIX > mkfifo that I have on my system from the command line? $ perl -MPOSIX -le'print $POSIX::VERSION' -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From Peter.Loo at source.wolterskluwer.com Thu Aug 10 12:48:38 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 10 Aug 2006 12:48:38 -0700 Subject: [sf-perl] use POSIX qw(mkfifo); In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01C7746A@phxmail02.phx.ndchealth.com> Thanks Andy. I don't know where I am getting this error message from. POSIX version is 1.08. Error: packet header version '9' does not match expected '7' - client and server versions may be different. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Andy Lester Sent: Thursday, August 10, 2006 11:55 AM To: San Francisco Perl Mongers User Group Cc: sfpug at sf.pm.org Subject: Re: [sf-perl] use POSIX qw(mkfifo); On Aug 10, 2006, at 1:49 PM, Loo, Peter # PHX wrote: > Can someone please tell me how I can find out what version of POSIX > mkfifo that I have on my system from the command line? $ perl -MPOSIX -le'print $POSIX::VERSION' -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From extasia at extasia.org Fri Aug 11 18:21:20 2006 From: extasia at extasia.org (David Alban) Date: Fri, 11 Aug 2006 18:21:20 -0700 Subject: [sf-perl] Fwd: oracle position Message-ID: <4c714a9c0608111821k354a50d7h3c1ed856d09de439@mail.gmail.com> [note: i have nothing to do with this post except that i'm forwarding it. penlug is the peninsula linux user group.] ---------- Forwarded message ---------- From: Bill Ward Date: Aug 11, 2006 3:19 PM Subject: [PenLUG] Applications Developer position open at Oracle (Perl + PL/SQL) To: PenLUG Members , svlug-jobs at svlug.org, baylisa-jobs at baylisa.org My group at Oracle is hiring. Please let me know if you are interested in applying. Job Title : Applications Developer 2 Location : 600 Oracle Parkway, Redwood Shores CA 94065 Organization Name : Infrastructure Systems Development Department Description The Infrastructure Systems Development (ISD) team is responsible for providing automated tools that facilitate enhanced productivity in various aspects of the complete Application Development life cycle. Examples include quality control utilities, tools for automating the build and application of patches, systems for creating and managing Oracle Applications environments, and source control software. Brief Description The ISD team is looking for a highly motivated engineer to join the team and assist in building, testing, delivering and maintaining development lifecycle software components. Detailed Description As a member of the software engineering division, you will perform detailed design based on provided high level design specifications. Assist in system planning, scheduling and implementation. Build enhancements (including new product features) and resolve bugs. Build and execute unit test and unit test plans. Review integration and regression test plans created by QA. Interact with QA and porting engineering about problems in the code. Job Requirements Duties and tasks are standard with some variation; displays understanding of roles, processes and procedures. Performs moderately complex problem solving with assistance and guidance in understanding and applying company policies and processes. Preferred Qualifications: BS degree or equivalent experience relevant to functional area. 1 year of software engineering or related experience. Additional Details RESPONSIBILITIES : - Design, develop, and deploy robust, proficient, and easy-to-maintain code. - Further automate and enhance the infrastructure tools. - Expand functionality and usability of the web based system interface. - Integrate the applications with business logic - Interact with a global development organization - Participate in the entire product life cycle: requirements, design, implementation, testing, release, maintenance, and support Job Requirements : Work is non-routine and very challenging, involving the application of advanced technical/business skills in area of specialization. Leading contributor individually and as a team member, providing direction and mentoring to others. - Relevant functional experience - Proven experience and interest in Perl OO programming desired - Experience with Oracle RDBMS and PL/SQL desired - Exposure to XML, HTML, JavaScript, Apache, SOAP, AJAX - Familiarity with Unix/Linux platform and shell scripting - 0-2 years of experience Professional Skill Requirements: - Proven ability to work independently and as a team member in a highly global environment - Ability to be flexible and work analytically in a challenging problem-solving environment - Strong communication (written and oral) and interpersonal skills - Strong multi-tasking and time-management skills Technical Environment Details: - Perl5, Oraperl - Oracle SQL, PL/SQL - Linux and other operating systems - Clearcase, RCS - XML, HTML , Javascript - Apache, Oracle Webserver - Netscape and Microsoft browsers Work Environment Details: - State of the art development environment. - Highly motivated technical team. - One production instance. - One production version. - High visibility system. _______________________________________________ PenLUG-Members mailing list PenLUG-Members at penlug.org http://www.penlug.org/mailman/listinfo/penlug-members -- Live in a world of your own, but always welcome visitors. From vlb at cfcl.com Fri Aug 11 21:34:44 2006 From: vlb at cfcl.com (Vicki Brown) Date: Fri, 11 Aug 2006 21:34:44 -0700 Subject: [sf-perl] Kwiki anyone? Message-ID: Has anyone successfully installed Kwiki? (CGI::Kwiki). Alternatively, is there an OOPerl wizard on this list who might be able to help me debug a problem? Kwiki is a Perl-based simple wiki engine handled by CGI::Kwiki, and a bunch of "plugin" modules. URL: http://www.kwiki.org I recently installed Kwiki to play with it. All went well until I started to try out some of the "themes" (the default installation is about as interesting as a sheet of unlined paper...). Now my Kwiki is deeply confused, as am I. You can see the problem at http://cfcl.com/kwiki/ - Template Toolkit error: file error - theme_screen.html: not found ... The file (theme_screen.html) exists in the theme subdir of the Kwiki installation, ./theme/basic/template/tt2/theme_screen.html but something is bogus and I'm lost. Meanwhile, the KWiki mailing list seems to be dead and the original developer isn't answering email. Sigh. -- - Vicki ZZZ zzZ San Francisco Bay Area, CA z |\ _,,,---,,_ Books, Cats, Tech zz /,`.-'`' -. ;-;;,_ http://cfcl.com/vlb |,4- ) )-,_. ,\ ( `'-' http://cfcl.com/vlb/weblog '---''(_/--' `-'\_) http://vlb.typepad.com/commentary/ From daniel at electricrain.com Fri Aug 11 21:45:31 2006 From: daniel at electricrain.com (Dan Sully) Date: Fri, 11 Aug 2006 21:45:31 -0700 Subject: [sf-perl] Kwiki anyone? In-Reply-To: References: Message-ID: <20060812044531.GA31787@electricrain.com> * Vicki Brown shaped the electrons to say... >Has anyone successfully installed Kwiki? (CGI::Kwiki). Alternatively, is >there an OOPerl wizard on this list who might be able to help me debug a >problem? Unfortunately. I would stay away if you are installing a new Wiki. It's poorly documented, and unsupported. Additionally it uses non-standard idioms created by the author by using supporting modules that make heavy use of filters (by the same author). FWIW, Kwiki:: has replaced CGI::Kwiki. I would still stay away. Instead, I would suggest Twiki (be sure to keep up with security patches), or MediaWiki (yes, it's PHP) -D -- "It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein From andy at petdance.com Fri Aug 11 21:52:20 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 11 Aug 2006 23:52:20 -0500 Subject: [sf-perl] Kwiki anyone? In-Reply-To: <20060812044531.GA31787@electricrain.com> References: <20060812044531.GA31787@electricrain.com> Message-ID: <6793E624-575F-4B85-8435-DA23F75C62FB@petdance.com> On Aug 11, 2006, at 11:45 PM, Dan Sully wrote: > Instead, I would suggest Twiki (be sure to keep up with security > patches), or > MediaWiki (yes, it's PHP) Allow me to point you and the original poster at Socialtext Open. I'm the developer in charge of the open source release. http://sourceforge.net/projects/socialtext/ http://socialtext.com/ http://socialtext.net/stoss/ Lots more powerful than Kwiki, multiple workspaces, Wikiwyg editor, email notification, tagging, attachments, RSS/ATOM, etc etc etc. SOAP and REST APIs coming soon. And it's all Perl and open source. Let me know if I can help. Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From friedman at highwire.stanford.edu Fri Aug 11 23:01:49 2006 From: friedman at highwire.stanford.edu (Michael Friedman) Date: Fri, 11 Aug 2006 23:01:49 -0700 Subject: [sf-perl] Kwiki anyone? In-Reply-To: <6793E624-575F-4B85-8435-DA23F75C62FB@petdance.com> References: <20060812044531.GA31787@electricrain.com> <6793E624-575F-4B85-8435-DA23F75C62FB@petdance.com> Message-ID: <1DBFFA1A-5527-4CF0-A731-9FFC7C976364@highwire.stanford.edu> At the other end of things, if all you're looking for is a simple wiki structure, I can recommend TinyWiki. http://www.perldesignpatterns.com/?TinyWiki The developer is extremely responsive to bugs, but since there's only 100 lines of code (or so), there isn't much to be buggy. :-) The code is dense, but since it's so short you can understand it completely in a few hours. Granted -- it doesn't do email or RSS or come with themes or hundreds of templates -- but it does let you use any (X)HTML you like. Personally, I've also had good luck with UseModWiki. It comes with several templates, seems to still have support from the community, and lets you use CSS for all the fancy formatting you want. http://www.usemod.com/cgi-bin/wiki.pl?UseModWiki (Adding patches is a bit of a hassle, though.) -- Mike On Aug 11, 2006, at 9:52 PM, Andy Lester wrote: > > On Aug 11, 2006, at 11:45 PM, Dan Sully wrote: > >> Instead, I would suggest Twiki (be sure to keep up with security >> patches), or >> MediaWiki (yes, it's PHP) > > Allow me to point you and the original poster at Socialtext Open. > I'm the developer in charge of the open source release. > > http://sourceforge.net/projects/socialtext/ > http://socialtext.com/ > http://socialtext.net/stoss/ > > Lots more powerful than Kwiki, multiple workspaces, Wikiwyg editor, > email notification, tagging, attachments, RSS/ATOM, etc etc etc. > SOAP and REST APIs coming soon. > > And it's all Perl and open source. > > Let me know if I can help. > > Andy > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm --------------------------------------------------------------------- Michael Friedman HighWire Press Phone: 650-725-1974 Stanford University FAX: 270-721-8034 --------------------------------------------------------------------- From vlb at cfcl.com Sat Aug 12 10:29:22 2006 From: vlb at cfcl.com (Vicki Brown) Date: Sat, 12 Aug 2006 10:29:22 -0700 Subject: [sf-perl] Kwiki anyone? In-Reply-To: <20060812044531.GA31787@electricrain.com> References: <20060812044531.GA31787@electricrain.com> Message-ID: At 21:45 -0700 08/11/2006, Dan Sully wrote: > I would stay away if you are installing a new Wiki. Oh. You don't understand ;-) I install all sorts of things because I want to play with them... > Instead, I would suggest Twiki (be sure to keep up with security patches), >or > MediaWiki (yes, it's PHP) Yup. Got 'em both running. -- - Vicki ZZZ zzZ San Francisco Bay Area, CA z |\ _,,,---,,_ Books, Cats, Tech zz /,`.-'`' -. ;-;;,_ http://cfcl.com/vlb |,4- ) )-,_. ,\ ( `'-' http://cfcl.com/vlb/weblog '---''(_/--' `-'\_) http://vlb.typepad.com/commentary/ From asheesh at asheesh.org Mon Aug 14 14:28:57 2006 From: asheesh at asheesh.org (Asheesh Laroia) Date: Mon, 14 Aug 2006 14:28:57 -0700 (PDT) Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: <200608101804.k7AI4NQ94852@mail0.rawbw.com> References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> Message-ID: On Thu, 10 Aug 2006, Joseph Brenner wrote: > I just thought I'd mention that the Oakland PM guys have a little > gathering going at the Linuxworld Expo on Tuesday afternoon that we > might like to crash: I've been lurking on sf-perl for a few months; in other months, I'm a cognitive science and computer science student at Johns Hopkins University on the East coast, but I've been interning at Creative Commons' offices in SF since early July. Creative Commons has a booth at LWCE. So I'll come to the discussion and wandering "outing" that the OPUG guys are leading; consider this my RSVP and friendly wave to SFPMUGers! -- Asheesh. -- Don't worry. Life's too long. -- Vincent Sardi, Jr. From andy at petdance.com Mon Aug 14 14:36:29 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 14 Aug 2006 16:36:29 -0500 Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> Message-ID: <8FAA7CF7-4A1C-4393-9353-C2B60D7145C6@petdance.com> > > So I'll come to the discussion and wandering "outing" that the OPUG > guys > are leading; consider this my RSVP and friendly wave to SFPMUGers! I'm very excited to meet SF PMers, too. LinuxWorld is going to be my first conference that isn't OSCON, so I'm looking forward to seeing something radically different. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From george at metaart.org Mon Aug 14 20:49:21 2006 From: george at metaart.org (George Woolley) Date: Mon, 14 Aug 2006 20:49:21 -0700 Subject: [sf-perl] Linuxworld on Tuesday In-Reply-To: References: <200608101804.k7AI4NQ94852@mail0.rawbw.com> Message-ID: <200608142049.21971.george@metaart.org> Hi Asheesh, == Creative Commons Interning at Creative Commons offices. Lucky you! I do see Creative Commons on the list of exhibitors: booth #3. == RSVP That works as an RSVP for me. Thanks! == George of Oakland.pm On Monday 14 August 2006 14:28, Asheesh Laroia wrote: > On Thu, 10 Aug 2006, Joseph Brenner wrote: > > I just thought I'd mention that the Oakland PM guys have a little > > gathering going at the Linuxworld Expo on Tuesday afternoon that we > > might like to crash: > > I've been lurking on sf-perl for a few months; in other months, I'm a > cognitive science and computer science student at Johns Hopkins University > on the East coast, but I've been interning at Creative Commons' offices in > SF since early July. Creative Commons has a booth at LWCE. > > So I'll come to the discussion and wandering "outing" that the OPUG guys > are leading; consider this my RSVP and friendly wave to SFPMUGers! > > -- Asheesh. From sigje at sigje.org Tue Aug 15 17:36:36 2006 From: sigje at sigje.org (Jennifer Davis) Date: Tue, 15 Aug 2006 17:36:36 -0700 (PDT) Subject: [sf-perl] Linux Picnic this weekend! August 19, 2006 Message-ID: RSVP: http://www.linuxpicnic.org/guests/rsvp.pl The Picn*x 15 Committee cordially invites all the friends of open source software to a picnic to be held Saturday August 19, 2006 from 11AM - 5PM at Sunnyvale's Baylands Park. This years theme celebrates the tremendous progress made by the open source community over the last fifteen years, including, but not limited to, FreeBSD, GNU, Apache, MySQL, PERL, Python, PHP, OpenOffice, GIMP, and of course Linux. There are over 70,000 open source projects. August 19 is the Saturday following the LinuxWorld Conference and Expo in San Francisco. The Picn*x 15 Committee encourages Conference attendees to stay over for the picnic. A large out-of-town turnout is expected since this year's Expo celebrates the 15th anniversary of Linux. Early registration is advised. For your inner geek, the picnic has activities like installing and troubleshooting software on your laptop, experimenting with wireless communication, and visits to local hardware stores. For your inner child there is acoustic music, Frisbee, soccer, bocce ball, softball, volleyball and juggling. The picnic is free to attendees, but reservations are required. Many thanks to our sponsors, including Mirapoint, Raw Bandwidth, BayLISA, USENIX, GROUNDWORK Open Source, and Splunk. See http://www.linuxpicnic.org for additional information. RSVP: http://www.linuxpicnic.org/guests/rsvp.pl From Peter.Loo at source.wolterskluwer.com Wed Aug 16 11:35:21 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 16 Aug 2006 11:35:21 -0700 Subject: [sf-perl] @INC Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC8E0@phxmail02.phx.ndchealth.com> Hi All, Will someone please tell me how I can add the Perl Modules in @INC so that I can reference the using use statement? Thanks. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060816/d85daf6c/attachment.html From mbudash at sonic.net Wed Aug 16 11:47:06 2006 From: mbudash at sonic.net (Michael Budash) Date: Wed, 16 Aug 2006 11:47:06 -0700 Subject: [sf-perl] @INC In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC8E0@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC8E0@phxmail02.phx.ndchealth.com> Message-ID: <18D607B5-575E-4522-BC0E-66BC99B50A71@sonic.net> use lib '/path/to/the/modules'; is the preferable way to do this On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: > Hi All, > > Will someone please tell me how I can add the Perl Modules in @INC > so that I can reference the using use statement? > > Thanks. > > Peter > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -- Michael Budash Michael Budash Consulting michael at budashconsulting.com 707-252-7670 off 707-363-4262 cel From friedman at highwire.stanford.edu Wed Aug 16 11:58:32 2006 From: friedman at highwire.stanford.edu (Michael Friedman) Date: Wed, 16 Aug 2006 11:58:32 -0700 Subject: [sf-perl] @INC In-Reply-To: <18D607B5-575E-4522-BC0E-66BC99B50A71@sonic.net> References: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC8E0@phxmail02.phx.ndchealth.com> <18D607B5-575E-4522-BC0E-66BC99B50A71@sonic.net> Message-ID: <409EB7CB-7B70-4465-AF63-BE43AED97772@highwire.stanford.edu> At my office, we store our code in CVS, so each developer has their own copy of our custom modules. To make that work we couldn't use 'use lib' because we didn't want to edit the files everytime. Instead we use PERL5LIB, the environment variable. Perl adds any dirs in PERL5LIB into your @INC before running any script. (See `man perlrun`.) However, as the perlrun page points out, this is inherently insecure, so don't try it if you are checking for taint, running on a shared machine, etc. etc. -- Mike PS - You can also unshift dirs directly onto @INC, but that's the brute force approach. On Aug 16, 2006, at 11:47 AM, Michael Budash wrote: > use lib '/path/to/the/modules'; > > is the preferable way to do this > > On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: > >> Hi All, >> >> Will someone please tell me how I can add the Perl Modules in @INC >> so that I can reference the using use statement? >> >> Thanks. >> >> Peter >> _______________________________________________ >> SanFrancisco-pm mailing list >> SanFrancisco-pm at pm.org >> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > -- > Michael Budash > Michael Budash Consulting > michael at budashconsulting.com > 707-252-7670 off > 707-363-4262 cel > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm --------------------------------------------------------------------- Michael Friedman HighWire Press Phone: 650-725-1974 Stanford University FAX: 270-721-8034 --------------------------------------------------------------------- From Peter.Loo at source.wolterskluwer.com Wed Aug 16 12:26:10 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 16 Aug 2006 12:26:10 -0700 Subject: [sf-perl] @INC In-Reply-To: <409EB7CB-7B70-4465-AF63-BE43AED97772@highwire.stanford.edu> Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC996@phxmail02.phx.ndchealth.com> Hi Michael and Michael, Still does not work. $ cat ./testCon.pl #!/usr/bin/perl -w use DBI; my $dbh = DBI->connect("dbi:Oracle:instance", "my_id", "my_pass", { RaiseError => 1 }); $dbh->disconnect(); exit; $ ./testCon.pl Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at ./testCon.pl line 3. BEGIN failed--compilation aborted at ./testCon.pl line 3. $ env | grep PERL5LIB PERL5LIB=:/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Michael Friedman Sent: Wednesday, August 16, 2006 11:59 AM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] @INC At my office, we store our code in CVS, so each developer has their own copy of our custom modules. To make that work we couldn't use 'use lib' because we didn't want to edit the files everytime. Instead we use PERL5LIB, the environment variable. Perl adds any dirs in PERL5LIB into your @INC before running any script. (See `man perlrun`.) However, as the perlrun page points out, this is inherently insecure, so don't try it if you are checking for taint, running on a shared machine, etc. etc. -- Mike PS - You can also unshift dirs directly onto @INC, but that's the brute force approach. On Aug 16, 2006, at 11:47 AM, Michael Budash wrote: > use lib '/path/to/the/modules'; > > is the preferable way to do this > > On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: > >> Hi All, >> >> Will someone please tell me how I can add the Perl Modules in @INC so >> that I can reference the using use statement? >> >> Thanks. >> >> Peter >> _______________________________________________ >> SanFrancisco-pm mailing list >> SanFrancisco-pm at pm.org >> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > -- > Michael Budash > Michael Budash Consulting > michael at budashconsulting.com > 707-252-7670 off > 707-363-4262 cel > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm --------------------------------------------------------------------- Michael Friedman HighWire Press Phone: 650-725-1974 Stanford University FAX: 270-721-8034 --------------------------------------------------------------------- _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From mbudash at sonic.net Wed Aug 16 12:37:34 2006 From: mbudash at sonic.net (Michael Budash) Date: Wed, 16 Aug 2006 12:37:34 -0700 Subject: [sf-perl] @INC In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC996@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC996@phxmail02.phx.ndchealth.com> Message-ID: <5AAA8F56-154C-462F-B254-55696A91C55C@sonic.net> so... where IS DBI.pm in your installation? On Aug 16, 2006, at 12:26 PM, Loo, Peter # PHX wrote: > > Hi Michael and Michael, > > Still does not work. > > $ cat ./testCon.pl > #!/usr/bin/perl -w > > use DBI; > > my $dbh = DBI->connect("dbi:Oracle:instance", "my_id", "my_pass", { > RaiseError => 1 }); > > $dbh->disconnect(); > > exit; > > $ ./testCon.pl > Can't locate DBI.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris > /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 > /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) > at ./testCon.pl line 3. > BEGIN failed--compilation aborted at ./testCon.pl line 3. > > $ env | grep PERL5LIB > PERL5LIB=:/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris > > Peter > > -----Original Message----- > From: sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.org > [mailto:sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.or > g] On Behalf Of Michael Friedman > Sent: Wednesday, August 16, 2006 11:59 AM > To: San Francisco Perl Mongers User Group > Subject: Re: [sf-perl] @INC > > At my office, we store our code in CVS, so each developer has their > own > copy of our custom modules. To make that work we couldn't use 'use > lib' > because we didn't want to edit the files everytime. Instead we use > PERL5LIB, the environment variable. > > Perl adds any dirs in PERL5LIB into your @INC before running any > script. > (See `man perlrun`.) > > However, as the perlrun page points out, this is inherently > insecure, so > don't try it if you are checking for taint, running on a shared > machine, > etc. etc. > > -- Mike > > PS - You can also unshift dirs directly onto @INC, but that's the > brute > force approach. > > On Aug 16, 2006, at 11:47 AM, Michael Budash wrote: > >> use lib '/path/to/the/modules'; >> >> is the preferable way to do this >> >> On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: >> >>> Hi All, >>> >>> Will someone please tell me how I can add the Perl Modules in >>> @INC so >>> >>> that I can reference the using use statement? >>> >>> Thanks. >>> >>> Peter From Peter.Loo at source.wolterskluwer.com Wed Aug 16 12:39:32 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 16 Aug 2006 12:39:32 -0700 Subject: [sf-perl] @INC In-Reply-To: <5AAA8F56-154C-462F-B254-55696A91C55C@sonic.net> Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC9B3@phxmail02.phx.ndchealth.com> aztec::/export/home/ip00846/bin/perl>$ find / -name DBI.pm -print 2>/dev/null /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Bundle/DBI.pm /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/Apache/DBI.pm /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/sun4-solaris/Bundl e/DBI.pm /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/sun4-solaris/DBI.p m /opt/app/oracle/product/appsvr/ows/cartx/common/perl/lib/site_perl/DBI.p m /export/home/itssbs1/DBI-1.06/lib/Bundle/DBI.pm /export/home/itssbs1/DBI-1.06/DBI.pm /export/home/itssbs1/DBI-1.06/blib/lib/Bundle/DBI.pm /export/home/itssbs1/DBI-1.06/blib/lib/DBI.pm /export/home/itssta2/DBI-1.20/lib/Bundle/DBI.pm /export/home/itssta2/DBI-1.20/DBI.pm /export/home/itssta2/DBI-1.20/blib/lib/DBI.pm /export/home/itssta2/DBI-1.20/blib/lib/Bundle/DBI.pm /.cpan/build/DBI-1.45/lib/Bundle/DBI.pm /.cpan/build/DBI-1.45/DBI.pm /.cpan/build/DBI-1.45/blib/lib/DBI.pm /.cpan/build/DBI-1.45/blib/lib/Bundle/DBI.pm Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Michael Budash Sent: Wednesday, August 16, 2006 12:38 PM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] @INC so... where IS DBI.pm in your installation? On Aug 16, 2006, at 12:26 PM, Loo, Peter # PHX wrote: > > Hi Michael and Michael, > > Still does not work. > > $ cat ./testCon.pl > #!/usr/bin/perl -w > > use DBI; > > my $dbh = DBI->connect("dbi:Oracle:instance", "my_id", "my_pass", { > RaiseError => 1 }); > > $dbh->disconnect(); > > exit; > > $ ./testCon.pl > Can't locate DBI.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris > /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 > /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) > at ./testCon.pl line 3. > BEGIN failed--compilation aborted at ./testCon.pl line 3. > > $ env | grep PERL5LIB > PERL5LIB=:/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris > > Peter > > -----Original Message----- > From: sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.org > [mailto:sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.or > g] On Behalf Of Michael Friedman > Sent: Wednesday, August 16, 2006 11:59 AM > To: San Francisco Perl Mongers User Group > Subject: Re: [sf-perl] @INC > > At my office, we store our code in CVS, so each developer has their > own copy of our custom modules. To make that work we couldn't use 'use > lib' > because we didn't want to edit the files everytime. Instead we use > PERL5LIB, the environment variable. > > Perl adds any dirs in PERL5LIB into your @INC before running any > script. > (See `man perlrun`.) > > However, as the perlrun page points out, this is inherently insecure, > so don't try it if you are checking for taint, running on a shared > machine, etc. etc. > > -- Mike > > PS - You can also unshift dirs directly onto @INC, but that's the > brute force approach. > > On Aug 16, 2006, at 11:47 AM, Michael Budash wrote: > >> use lib '/path/to/the/modules'; >> >> is the preferable way to do this >> >> On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: >> >>> Hi All, >>> >>> Will someone please tell me how I can add the Perl Modules in @INC >>> so >>> >>> that I can reference the using use statement? >>> >>> Thanks. >>> >>> Peter _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From friedman at highwire.stanford.edu Wed Aug 16 12:53:11 2006 From: friedman at highwire.stanford.edu (Michael Friedman) Date: Wed, 16 Aug 2006 12:53:11 -0700 Subject: [sf-perl] @INC In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC9B3@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01CEC9B3@phxmail02.phx.ndchealth.com> Message-ID: <07639329-0779-41C9-8E99-31FF936D6E92@highwire.stanford.edu> Uh, you're trying to use 5.6.1 modules with 5.8.3? That *should* work, but I haven't tried it. Well, in any case, it properly added the PERL5LIB value to @INC, as you can see from the error > Can't locate DBI.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris so it's not the @INC path that is the problem here. Did you check permissions? Everything in sun4-solaris (or any systemname dir) has a compiled component, perhaps DBI needs to be recompiled for a new machine or os? I'm assuming there's a reason you don't just install DBI in your 5.8.3 installation, but that would be the easiest solution. ;-) -- Mike On Aug 16, 2006, at 12:39 PM, Loo, Peter # PHX wrote: > > aztec::/export/home/ip00846/bin/perl>$ find / -name DBI.pm -print > 2>/dev/null > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Bundle/DBI.pm > /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/Apache/DBI.pm > /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/sun4-solaris/ > Bundl > e/DBI.pm > /opt/app/oracle/product/10.1/perl/lib/site_perl/5.6.1/sun4-solaris/ > DBI.p > m > /opt/app/oracle/product/appsvr/ows/cartx/common/perl/lib/site_perl/ > DBI.p > m > /export/home/itssbs1/DBI-1.06/lib/Bundle/DBI.pm > /export/home/itssbs1/DBI-1.06/DBI.pm > /export/home/itssbs1/DBI-1.06/blib/lib/Bundle/DBI.pm > /export/home/itssbs1/DBI-1.06/blib/lib/DBI.pm > /export/home/itssta2/DBI-1.20/lib/Bundle/DBI.pm > /export/home/itssta2/DBI-1.20/DBI.pm > /export/home/itssta2/DBI-1.20/blib/lib/DBI.pm > /export/home/itssta2/DBI-1.20/blib/lib/Bundle/DBI.pm > /.cpan/build/DBI-1.45/lib/Bundle/DBI.pm > /.cpan/build/DBI-1.45/DBI.pm > /.cpan/build/DBI-1.45/blib/lib/DBI.pm > /.cpan/build/DBI-1.45/blib/lib/Bundle/DBI.pm > > Peter > > -----Original Message----- > From: sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.org > [mailto:sanfrancisco-pm-bounces > +peter.loo=source.wolterskluwer.com at pm.or > g] On Behalf Of Michael Budash > Sent: Wednesday, August 16, 2006 12:38 PM > To: San Francisco Perl Mongers User Group > Subject: Re: [sf-perl] @INC > > so... where IS DBI.pm in your installation? > > On Aug 16, 2006, at 12:26 PM, Loo, Peter # PHX wrote: > >> >> Hi Michael and Michael, >> >> Still does not work. >> >> $ cat ./testCon.pl >> #!/usr/bin/perl -w >> >> use DBI; >> >> my $dbh = DBI->connect("dbi:Oracle:instance", "my_id", "my_pass", { >> RaiseError => 1 }); >> >> $dbh->disconnect(); >> >> exit; >> >> $ ./testCon.pl >> Can't locate DBI.pm in @INC (@INC contains: >> /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris >> /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 >> /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/ >> site_perl .) > >> at ./testCon.pl line 3. >> BEGIN failed--compilation aborted at ./testCon.pl line 3. >> >> $ env | grep PERL5LIB >> PERL5LIB=:/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris >> >> Peter >> >> -----Original Message----- >> From: sanfrancisco-pm-bounces >> +peter.loo=source.wolterskluwer.com at pm.org >> [mailto:sanfrancisco-pm-bounces >> +peter.loo=source.wolterskluwer.com at pm.or >> g] On Behalf Of Michael Friedman >> Sent: Wednesday, August 16, 2006 11:59 AM >> To: San Francisco Perl Mongers User Group >> Subject: Re: [sf-perl] @INC >> >> At my office, we store our code in CVS, so each developer has their >> own copy of our custom modules. To make that work we couldn't use >> 'use > >> lib' >> because we didn't want to edit the files everytime. Instead we use >> PERL5LIB, the environment variable. >> >> Perl adds any dirs in PERL5LIB into your @INC before running any >> script. >> (See `man perlrun`.) >> >> However, as the perlrun page points out, this is inherently insecure, >> so don't try it if you are checking for taint, running on a shared >> machine, etc. etc. >> >> -- Mike >> >> PS - You can also unshift dirs directly onto @INC, but that's the >> brute force approach. >> >> On Aug 16, 2006, at 11:47 AM, Michael Budash wrote: >> >>> use lib '/path/to/the/modules'; >>> >>> is the preferable way to do this >>> >>> On Aug 16, 2006, at 11:35 AM, Loo, Peter # PHX wrote: >>> >>>> Hi All, >>>> >>>> Will someone please tell me how I can add the Perl Modules in @INC >>>> so >>>> >>>> that I can reference the using use statement? >>>> >>>> Thanks. >>>> >>>> Peter > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > > This E-mail message is for the sole use of the intended recipient > (s) and > may contain confidential and privileged information. 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. > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm --------------------------------------------------------------------- Michael Friedman HighWire Press Phone: 650-725-1974 Stanford University FAX: 270-721-8034 --------------------------------------------------------------------- From andy at petdance.com Wed Aug 16 15:00:17 2006 From: andy at petdance.com (Andy Lester) Date: Wed, 16 Aug 2006 15:00:17 -0700 Subject: [sf-perl] Fwd: [ANNOUNCE] Smolder 0.3 (1.0 RC1) References: <44E37E0E.4080701@plusthree.com> Message-ID: Since we were discussing aggregating test results.... Begin forwarded message: > From: Michael Peters > Date: August 16, 2006 1:20:30 PM PDT > To: cgi-app , perl-qa , > smolder-devel , smolder-users > , mod_perl > > Subject: [ANNOUNCE] Smolder 0.3 (1.0 RC1) > > Smolder 0.3 has arrived. This is the first release candidate > towards 1.0. > > Smolder is web-based smoke test aggregator used by developers and > testers to > upload (automated or manually) and view smoke/regression tests > using the Test > Anything Protocol. Details and trends can be viewed in various > formats (HTML, > XML, YAML) and also via email. > > Changes in the last 2 minor releases are: > > 0.3 (1.0 RC1) > > * Mark tests that have files that exit with a non-zero status > that use > ?no_plan? to be marked as failing - M. Peters > * Allow anonymous smoke tests added to public projects - M. Peters > * Added public projects - M. Peters > * Upgrading to Apache 1.3.36 - M. Peters > * Auto-purging of old compressed XML files by > ProjectFullReportsMax config > directive - M. Peters > * Better caching headers for static files - M. Peters > * Fixed building of SQLite on some platforms - Mark Stosberg > * Searchable HTML versions of docs - M. Peters > * Fixing graph generation bug when using SQLite - Sam Tregar > * Compressed XML storage and acceptance during upload - M. > Peters, Sam Tregar > * Runtime errors sometimes being lost - Sam Tregar, M. Peters > * Removed un-used mod_ssl sources and build - M. Peters > > 0.2 > > * Turn on mod_auth_tkt for all dynamic requests so that Apache > auth stages > are run and valid credentials produced - M. Peters > * Added smolder_prove, to run any normal Perl tests for smolder > - M. Peters > * Send the port number in URLs in emails - Sam Tregar > * Skip the authinfo test if Apache is not running - Sam Tregar > * Added missing modules to src (XML::Parser, XML::SAX::Expat, > Exception::Class and Exception::Class::TryCatch) - Sam Tregar > * Using a smaller number of Apache children and > Apache::SizeLimit to limit > any memory hogging - M. Peters > * Added built-in SQLite support - (M. Peters, Mark Stosberg) > * Added multi-db support via Smolder::DBPlatform - M. Peters > * Upgraded DBI to 1.50 - M. Peters > * Added notification to the user of failed AJAX requests - M. > Peters > > Smolder can be download from > https://sourceforge.net/projects/smolder > > Thanks to Mark Stosberg and Sam Tregar for the help and for Plus > Three, LP for > sponsoring my work on this, as well as providing guinea pigs. > > -- > Michael Peters > Developer > Plus Three, LP > -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From miyagawa at gmail.com Wed Aug 16 23:01:58 2006 From: miyagawa at gmail.com (Tatsuhiko Miyagawa) Date: Thu, 17 Aug 2006 15:01:58 +0900 Subject: [sf-perl] Fwd: [ANNOUNCE] Smolder 0.3 (1.0 RC1) In-Reply-To: References: <44E37E0E.4080701@plusthree.com> Message-ID: <693254b90608162301i57dc2458w32332e7acd43899c@mail.gmail.com> I'm using Test::Chimps and Test::Chimps::Client from Best Practical, to do mostly the same thing, and so far it's brilliant. http://plagger.org/chimps-server http://search.cpan.org/dist/Test-Chimps/ (the fact that the ::Client requires Test::TAP::Model and tons of dependencies sucks, though) On 8/17/06, Andy Lester wrote: > Since we were discussing aggregating test results.... > > Begin forwarded message: > > > From: Michael Peters > > Date: August 16, 2006 1:20:30 PM PDT > > To: cgi-app , perl-qa , > > smolder-devel , smolder-users > > , mod_perl > > > > Subject: [ANNOUNCE] Smolder 0.3 (1.0 RC1) > > > > Smolder 0.3 has arrived. This is the first release candidate > > towards 1.0. > > > > Smolder is web-based smoke test aggregator used by developers and > > testers to > > upload (automated or manually) and view smoke/regression tests > > using the Test > > Anything Protocol. Details and trends can be viewed in various > > formats (HTML, > > XML, YAML) and also via email. > > > > Changes in the last 2 minor releases are: > > > > 0.3 (1.0 RC1) > > > > * Mark tests that have files that exit with a non-zero status > > that use > > 'no_plan' to be marked as failing - M. Peters > > * Allow anonymous smoke tests added to public projects - M. Peters > > * Added public projects - M. Peters > > * Upgrading to Apache 1.3.36 - M. Peters > > * Auto-purging of old compressed XML files by > > ProjectFullReportsMax config > > directive - M. Peters > > * Better caching headers for static files - M. Peters > > * Fixed building of SQLite on some platforms - Mark Stosberg > > * Searchable HTML versions of docs - M. Peters > > * Fixing graph generation bug when using SQLite - Sam Tregar > > * Compressed XML storage and acceptance during upload - M. > > Peters, Sam Tregar > > * Runtime errors sometimes being lost - Sam Tregar, M. Peters > > * Removed un-used mod_ssl sources and build - M. Peters > > > > 0.2 > > > > * Turn on mod_auth_tkt for all dynamic requests so that Apache > > auth stages > > are run and valid credentials produced - M. Peters > > * Added smolder_prove, to run any normal Perl tests for smolder > > - M. Peters > > * Send the port number in URLs in emails - Sam Tregar > > * Skip the authinfo test if Apache is not running - Sam Tregar > > * Added missing modules to src (XML::Parser, XML::SAX::Expat, > > Exception::Class and Exception::Class::TryCatch) - Sam Tregar > > * Using a smaller number of Apache children and > > Apache::SizeLimit to limit > > any memory hogging - M. Peters > > * Added built-in SQLite support - (M. Peters, Mark Stosberg) > > * Added multi-db support via Smolder::DBPlatform - M. Peters > > * Upgraded DBI to 1.50 - M. Peters > > * Added notification to the user of failed AJAX requests - M. > > Peters > > > > Smolder can be download from > > https://sourceforge.net/projects/smolder > > > > Thanks to Mark Stosberg and Sam Tregar for the help and for Plus > > Three, LP for > > sponsoring my work on this, as well as providing guinea pigs. > > > > -- > > Michael Peters > > Developer > > Plus Three, LP > > > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > -- Tatsuhiko Miyagawa From Peter.Loo at source.wolterskluwer.com Thu Aug 17 10:35:19 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Thu, 17 Aug 2006 10:35:19 -0700 Subject: [sf-perl] To get Oracle SIDs Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01CECE98@phxmail02.phx.ndchealth.com> Hi All, Does anyone know if there is an invented wheel in Perl that I can use to gather all Oracle SIDs within my network? Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060817/af0845b4/attachment.html From andy at petdance.com Thu Aug 17 22:05:53 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 18 Aug 2006 00:05:53 -0500 Subject: [sf-perl] New ack is out Message-ID: <022BEFF3-15DC-4803-A7B8-D23ADE6E7D04@petdance.com> Chicago.PM's Leland Johnson sent me a swell idea for ack: Have -o let you specify an output string you want, based on the regex, so now you can. Go get ack 1.25_02 and try it out, please. Note that 1.25_01 is painfully broken and I've flagged it to be deleted from CPAN. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From fred at redhotpenguin.com Thu Aug 17 22:18:58 2006 From: fred at redhotpenguin.com (Fred Moyer) Date: Thu, 17 Aug 2006 22:18:58 -0700 Subject: [sf-perl] [off-list] Re: New ack is out In-Reply-To: <022BEFF3-15DC-4803-A7B8-D23ADE6E7D04@petdance.com> References: <022BEFF3-15DC-4803-A7B8-D23ADE6E7D04@petdance.com> Message-ID: <44E54DC2.8000405@redhotpenguin.com> > Go get ack 1.25_02 and try it out, please. Note that 1.25_01 is > painfully broken and I've flagged it to be deleted from CPAN. Hey Andy I'm an SF Perl Hacker who didn't get to meet you when you were out here because I've been repaying the order debt I create by hacking too much :) I couldn't make Tuesday night but I dropped by the SocialText booth at LW and you weren't around at that time. I've been hacking with Apache::Test lately and have a vision of Apache::Test+Test::WWW::Mechanize. I've used T:W:M in past work and it rocks so I wanted to thank you for making my life easier. Thanks also for the pdf on technical debt. You have described my day job in full detail :) - Fred > > xoxo, > Andy > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm From andy at petdance.com Thu Aug 17 22:23:07 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 18 Aug 2006 00:23:07 -0500 Subject: [sf-perl] [not really off-list] Re: New ack is out In-Reply-To: <44E54DC2.8000405@redhotpenguin.com> References: <022BEFF3-15DC-4803-A7B8-D23ADE6E7D04@petdance.com> <44E54DC2.8000405@redhotpenguin.com> Message-ID: <6A579F19-8CDF-45BA-9674-88EBC3D677CE@petdance.com> > Hey Andy I'm an SF Perl Hacker who didn't get to meet you when you > were > out here because I've been repaying the order debt I create by hacking > too much :) I couldn't make Tuesday night but I dropped by the > SocialText booth at LW and you weren't around at that time. Oh man, I'm sorry! Someone shoulda called me! > I've been hacking with Apache::Test lately and have a vision of > Apache::Test+Test::WWW::Mechanize. I've used T:W:M in past work > and it > rocks so I wanted to thank you for making my life easier. You're very welcome. Patches are always welcome, of course! > Thanks also for the pdf on technical debt. You have described my day > job in full detail :) OK, but now you need to CHANGE it! :-) xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From Jeff.Thalhammer at barclaysglobal.com Fri Aug 18 15:27:48 2006 From: Jeff.Thalhammer at barclaysglobal.com (Thalhammer, Jeffrey BGI SF) Date: Fri, 18 Aug 2006 15:27:48 -0700 Subject: [sf-perl] Thank you Message-ID: <3A2096A63456DC469D46178CA9F8309F3997D7@calnte2k035.insidelive.net> On behalf of all the SF Perl Mongers- Thanks Andy, for yet another fantastic presentation. As always, you have engaged, entertained, and educated us all. We hope you enjoyed your visit to our fair city, and have a safe trip home! And thank you Julie, for providing all the cool swag. -Jeff -- This message and any attachments are confidential, proprietary, and may be privileged. If this message was misdirected, Barclays Global Investors (BGI) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of BGI, unless the author is authorized by BGI to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by BGI. Although BGI operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. From andy at petdance.com Sat Aug 19 05:40:27 2006 From: andy at petdance.com (Andy Lester) Date: Sat, 19 Aug 2006 07:40:27 -0500 Subject: [sf-perl] Thank you In-Reply-To: <3A2096A63456DC469D46178CA9F8309F3997D7@calnte2k035.insidelive.net> References: <3A2096A63456DC469D46178CA9F8309F3997D7@calnte2k035.insidelive.net> Message-ID: <0B85BD7A-121C-4379-9FFC-A03092226901@petdance.com> On Aug 18, 2006, at 5:27 PM, Thalhammer, Jeffrey BGI SF wrote: > We hope you enjoyed your visit to our fair city, and have a safe trip > home! Thanks for putting together a meeting on short notice, too. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From rdm at cfcl.com Mon Aug 21 07:19:03 2006 From: rdm at cfcl.com (Rich Morin) Date: Mon, 21 Aug 2006 07:19:03 -0700 Subject: [sf-perl] Beer and Scripting SIG (BASS) - reminder Message-ID: The Beer & Scripting SIG (http://www.cfcl.com/rdm/bass) will take place Wednesday evening, 8/23. Be there or be elsewhere! In case you were wondering, the discussions at BASS gatherings are not, erm, scripted. Rather, they reflect the interests of whatever scripters happen to show up that evening. One recent gathering focused on databases (especially PostgreSQL); other gatherings have discussed the vagaries of doing scripting for a living, which languages folks like (and why), etc. Sometimes, folks bring in books that they have recently read, software that they want to show off, etc. The informal nature of the gatherings allows this, as long as it doesn't conflict with important things like ordering and eating food! Also note that the calendar of Bay Area Scripting Events is available and open to submissions (all your BASE are belong to us :-). * webcal://cfcl.com/pub_dav/BA_Scripting_Groups.ics * http://cfcl.com/pub_dav/BA_Scripting_Groups.ics and that the list of local scripting groups is online at SF Bay Area Scripting Groups http://www.cfcl.com/rdm/bass/groups.php -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From Julie.Miller at Apress.com Mon Aug 21 10:13:36 2006 From: Julie.Miller at Apress.com (Julie Miller) Date: Mon, 21 Aug 2006 10:13:36 -0700 Subject: [sf-perl] Thank you Message-ID: It was my pleasure -- thank you for hosting the event and putting it together in such a short timeframe! i'll try to stop by again this fall and bring more goodies. _______________________ Julie Miller Product Marketing Manager Apress 2560 Ninth Street, Suite 219 Berkeley, CA 94710 510.549.5930 x 126 phone 510.549.5939 fax julie_miller at apress.com see what's new at www.apress.com The Expert's Voice TM -----Original Message----- From: Thalhammer, Jeffrey BGI SF [mailto:Jeff.Thalhammer at barclaysglobal.com] Sent: Friday, August 18, 2006 3:28 PM To: Andy Lester; Julie Miller Cc: sfpug at sf.pm.org Subject: Thank you On behalf of all the SF Perl Mongers- Thanks Andy, for yet another fantastic presentation. As always, you have engaged, entertained, and educated us all. We hope you enjoyed your visit to our fair city, and have a safe trip home! And thank you Julie, for providing all the cool swag. -Jeff -- This message and any attachments are confidential, proprietary, and may be privileged. If this message was misdirected, Barclays Global Investors (BGI) does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of BGI, unless the author is authorized by BGI to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by BGI. Although BGI operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed. From qw at sf.pm.org Tue Aug 22 16:40:42 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Tue, 22 Aug 2006 16:40:42 -0700 Subject: [sf-perl] Reminder: no meeting today! Message-ID: <20060822234042.GB59923@fu.funkspiel.org> Hi, all, This is just a late-breaking reminder that, since we had Andy Lester earlier in the month, there is no meeting today. We now return you to your regularly scheduled hacking... -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From david at fetter.org Tue Aug 22 16:48:58 2006 From: david at fetter.org (David Fetter) Date: Tue, 22 Aug 2006 16:48:58 -0700 Subject: [sf-perl] Reminder: no meeting today! In-Reply-To: <20060822234042.GB59923@fu.funkspiel.org> References: <20060822234042.GB59923@fu.funkspiel.org> Message-ID: <20060822234858.GG26913@fetter.org> On Tue, Aug 22, 2006 at 04:40:42PM -0700, Quinn Weaver wrote: > Hi, all, > > This is just a late-breaking reminder that, since we had Andy Lester > earlier in the month, there is no meeting today. > > We now return you to your regularly scheduled hacking... However, if you want to find some tasty new PostgreSQL things for your brain to chew on, you might want to head down to 2nd and mission :) http://pugs.postgresql.org/sfpug/ Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From rdm at cfcl.com Tue Aug 22 17:06:59 2006 From: rdm at cfcl.com (Rich Morin) Date: Tue, 22 Aug 2006 17:06:59 -0700 Subject: [sf-perl] Reminder: no meeting today! In-Reply-To: <20060822234858.GG26913@fetter.org> References: <20060822234042.GB59923@fu.funkspiel.org> <20060822234858.GG26913@fetter.org> Message-ID: At 4:48 PM -0700 8/22/06, David Fetter wrote: > On Tue, Aug 22, 2006 at 04:40:42PM -0700, Quinn Weaver wrote: >> Hi, all, >> >> This is just a late-breaking reminder that, since we had Andy Lester >> earlier in the month, there is no meeting today. >> >> We now return you to your regularly scheduled hacking... > > However, if you want to find some tasty new PostgreSQL things for your > brain to chew on, you might want to head down to 2nd and mission :) If you want tasty Chinese food for your mouth to chew on (brain fodder is likely, but not guaranteed), come on down to BASS tomorrow night: The Beer & Scripting SIG http://www.cfcl.com/rdm/bass -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From david at fetter.org Wed Aug 23 09:01:30 2006 From: david at fetter.org (David Fetter) Date: Wed, 23 Aug 2006 09:01:30 -0700 Subject: [sf-perl] Perltidy, etc. and PL/Perl Message-ID: <20060823160130.GC11634@fetter.org> Folks, I'm working on DBI-Link 2.0 and would like to make the next version better than the current one. I crashed the current one together in a fit of inspiration, and would like to make the next one easier to move along the pipeline of the Open Source Maturity Model What are people doing to handle code bases that aren't accessible to tools like perltidy right now? TIA for any hints, tips or pointers :) Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From rdm at cfcl.com Wed Aug 23 09:35:49 2006 From: rdm at cfcl.com (Rich Morin) Date: Wed, 23 Aug 2006 09:35:49 -0700 Subject: [sf-perl] Perltidy, etc. and PL/Perl In-Reply-To: <20060823160130.GC11634@fetter.org> References: <20060823160130.GC11634@fetter.org> Message-ID: At 9:01 AM -0700 8/23/06, David Fetter wrote: > What are people doing to handle code bases that aren't > accessible to tools like perltidy right now? What do you mean by accessible? Does the fact that DBI-Link runs under PostgreSQL mean that it can't be processed by perltidy? Why, exactly? Meanwhile, Perl::Critic sounds like a nifty tool which you should be able to tweak to get around peculiarities in your code base. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From david at fetter.org Wed Aug 23 09:42:43 2006 From: david at fetter.org (David Fetter) Date: Wed, 23 Aug 2006 09:42:43 -0700 Subject: [sf-perl] Perltidy, etc. and PL/Perl In-Reply-To: References: <20060823160130.GC11634@fetter.org> Message-ID: <20060823164243.GE11634@fetter.org> On Wed, Aug 23, 2006 at 09:35:49AM -0700, Rich Morin wrote: > At 9:01 AM -0700 8/23/06, David Fetter wrote: > > What are people doing to handle code bases that aren't accessible > > to tools like perltidy right now? > > What do you mean by accessible? Does the fact that DBI-Link runs > under PostgreSQL mean that it can't be processed by perltidy? Why, > exactly? Because it doesn't live in files, really. It lives in strings in the database. There's nothing with a shebang line. > Meanwhile, Perl::Critic sounds like a nifty tool which you should be > able to tweak to get around peculiarities in your code base. Can Perl::Critic operate on PL/Perl code? Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From rdm at cfcl.com Wed Aug 23 10:00:35 2006 From: rdm at cfcl.com (Rich Morin) Date: Wed, 23 Aug 2006 10:00:35 -0700 Subject: [sf-perl] Perltidy, etc. and PL/Perl In-Reply-To: <20060823164243.GE11634@fetter.org> References: <20060823160130.GC11634@fetter.org> <20060823164243.GE11634@fetter.org> Message-ID: At 9:42 AM -0700 8/23/06, David Fetter wrote: > Because it doesn't live in files, really. It lives in strings > in the database. There's nothing with a shebang line. It shouldn't be all that hard (he said :-) to extract the code from the DB and package them up to look like scripts. Am I missing something? > Can Perl::Critic operate on PL/Perl code? Well, it looks mostly at syntax (AFAIK), so "code is code" for its purposes. What I would do, really, is dump out a sampling of the DBI-Link code (in whatever manner), then hand-edit it and feed it to the aforementioned programs. Once you get it to the point that it is dealing properly with syntax issues, you can mechanize the process. > TIA for any hints, tips or pointers :) This is Perl; we ain't got no steeenking pointers. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From david at fetter.org Wed Aug 23 14:06:16 2006 From: david at fetter.org (David Fetter) Date: Wed, 23 Aug 2006 14:06:16 -0700 Subject: [sf-perl] Perltidy, etc. and PL/Perl In-Reply-To: References: <20060823160130.GC11634@fetter.org> <20060823164243.GE11634@fetter.org> Message-ID: <20060823210616.GC2511@fetter.org> On Wed, Aug 23, 2006 at 10:00:35AM -0700, Rich Morin wrote: > At 9:42 AM -0700 8/23/06, David Fetter wrote: > > Because it doesn't live in files, really. It lives in strings in > > the database. There's nothing with a shebang line. > > It shouldn't be all that hard (he said :-) to extract the code from > the DB and package them up to look like scripts. Am I missing > something? Hrm. It seems to me that it's me who's missing something, that being a tool to do this. It shouldn't be too tricky, but it may be a little ugly. > > Can Perl::Critic operate on PL/Perl code? > > Well, it looks mostly at syntax (AFAIK), so "code is code" for its > purposes. There are some functions in PL/Perl which don't exist elsewhere. I suppose Perl::Critic would just operate on those the way it would on something whose .pm's it couldn't find. :) > What I would do, really, is dump out a sampling of the DBI-Link code > (in whatever manner), then hand-edit it and feed it to the > aforementioned programs. Once you get it to the point that it is > dealing properly with syntax issues, you can mechanize the process. Fortunately, this is fairly straight-forward. Thanks for the tip :) > > TIA for any hints, tips or pointers :) > > This is Perl; we ain't got no steeenking pointers. Meh. Instead, we have references. They may be an improvement. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From blakem-sfpug at blakem.com Thu Aug 24 11:46:16 2006 From: blakem-sfpug at blakem.com (Blake D. Mills IV) Date: Thu, 24 Aug 2006 11:46:16 -0700 Subject: [sf-perl] Agile Perl position open at AirWave (San Mateo) Message-ID: <20060824184616.GA30371@mail.airwave.com> Just wanted to let everyone know that AirWave is hiring. We have given a couple of sfpm talks, one on our agile/extreme programming process, and another on our customized emacs coding environment. If you attended either one of those talks, you heard how much our team enjoys working together. So, if you're looking for a perl job, or are just not having much fun at your current job, please drop me a line at jobs at airwave.com. Here is our craigslist posting: http://sfbay.craigslist.org/pen/sof/197374372.html Hi there. I'm Blake Mills, the DevTeam lead at AirWave Wireless. We're expanding our development team, and you might be just the one we're looking for. Three years ago, I was looking for a company that was small enough that I could make an impact, yet had the stability of a larger organization. I found it here at AirWave. We have an enthusiastic group of developers and a great working environment. Just watch out though, you might find your keyboard encased in Jello like I did last April Fools day. Ok, so I've got your attention. You're starting to think that this might be the job for you. Aside from office pranks, what is it that we do at AirWave? Glad you asked. We develop network management software that is used by many of the leading IT organizations at Fortune 500 companies, major universities, hospitals, and other prominent institutions. Rolling out a wireless network is a daunting task, and we provide tools to ease that burden. Our industry leading software helps plan, configure, manage, and monitor some of the largest wireless networks on the planet. Our team practices extreme programming (XP), which means we spend most of our time writing code. We believe that running code and short feedback loops speak louder than excessive documentation and month long design meetings. We practice test-driven development and have a fairly comprehensive suite of tests... over 23,000 at last count. We pair program, which means you'll learn the system quickly and have a great time doing it. We have short release cycles so your talents won't sit idle working on projects that never see the light of day. Software you write today will be managing enterprise networks in a couple weeks. We've been cited as the longest running continuous XP project in the industry (five years and counting) so we have gotten quite good at embracing its advantages while avoiding the pitfalls. Excited? Good. Now to the nuts and bolts. AirWave develops software in several different languages and the current position will be working on Linux writing object-oriented Perl. We use Apache mod_perl as our front end UI and Postgres as our backend persistence layer. Since we manage network devices, knowledge of network protocols would be a plus, SNMP, TFTP, HTTP, etc. Desirable Skills - Perl, Object-Oriented programming, Apache, Linux application development, mod_perl, Postgres, Experience developing network management software - Knowledge of IP and 802.11 networking - Network management experience, specifically wireless network management - Linux system administration (rpm, network configuration, etc.) - Experience developing automated tests - Strong refactoring and design skills - Extreme Programming (XP) experience Responsibilities - The software engineer's responsibilities include designing, writing, testing, and maintaining code that is part of a shipping enterprise network management and monitoring software package. So, is this the job for you? Are you the next member of the AirWave devteam just waiting to be discovered? If so, send your resume (and perhaps your favorite office prank) to jobs at airwave.com and I'll get right back to you. -Blake From blakem-sfpug at blakem.com Thu Aug 24 14:05:33 2006 From: blakem-sfpug at blakem.com (Blake D. Mills IV) Date: Thu, 24 Aug 2006 17:05:33 -0400 Subject: [sf-perl] Agile Perl position open at AirWave (San Mateo) In-Reply-To: <20060824190740.GO11427@fetter.org>; from david@fetter.org on Thu, Aug 24, 2006 at 12:07:40PM -0700 References: <20060824184616.GA30371@mail.airwave.com> <20060824190740.GO11427@fetter.org> Message-ID: <20060824170533.A16460@cobalt.blakem.com> Sure... I think you might have mentioned it before. We intentionally aren't using many of the advanced features of postgres. This is mainly because we have a very dynamic schema, that any pair of developers can change at any time. Sometimes our schema changes 5 times a day! Since we have such a flexible process for changing our schema, things like triggers/table-inheritance/perl-in-the-database tend to slow our development down. So, we're mostly using postgres as a vanilla SQL persistance layer. -Blake On Thu, Aug 24, 2006 at 12:07:40PM -0700, David Fetter wrote: > On Thu, Aug 24, 2006 at 11:46:16AM -0700, Blake D. Mills IV wrote: > > > We use Apache mod_perl as our front end UI and Postgres as our > > backend persistence layer. > > Blake, > > While I'm not looking for a gig right this minute, as an avid > PostgreSQL user and the author of the PostgreSQL Weekly News, I am > keenly interested in what you're doing with PostgreSQL. > > Could we schedule some time to talk about Airwave and PostgreSQL? > > Thanks in advance :) > > Cheers, > D > -- > David Fetter http://fetter.org/ > phone: +1 415 235 3778 AIM: dfetter666 > Skype: davidfetter > > Remember to vote! From Peter.Loo at source.wolterskluwer.com Fri Aug 25 09:49:59 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Fri, 25 Aug 2006 09:49:59 -0700 Subject: [sf-perl] Perl's to_date() equivalent Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7C22@phxmail02.phx.ndchealth.com> Hello All, I was wondering if there is such a Perl module that I can use to calculate dates like the to_date() in Oracle. For example: select (to_date('2006-03-05', 'YYYY-MM-DD') + 30) from dual; Thanks. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060825/91211c0e/attachment.html From david at fetter.org Fri Aug 25 09:56:34 2006 From: david at fetter.org (David Fetter) Date: Fri, 25 Aug 2006 09:56:34 -0700 Subject: [sf-perl] Perl's to_date() equivalent In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7C22@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7C22@phxmail02.phx.ndchealth.com> Message-ID: <20060825165634.GZ11427@fetter.org> On Fri, Aug 25, 2006 at 09:49:59AM -0700, Loo, Peter # PHX wrote: > > Hello All, > > I was wondering if there is such a Perl module that I can use to > calculate dates like the to_date() in Oracle. For example: > > select (to_date('2006-03-05', 'YYYY-MM-DD') + 30) from dual; Try Date::Manip from CPAN :) It's not the fastest date munging library there, but it's very flexible. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From andy at petdance.com Fri Aug 25 09:58:52 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 25 Aug 2006 11:58:52 -0500 Subject: [sf-perl] Perl's to_date() equivalent In-Reply-To: <20060825165634.GZ11427@fetter.org> References: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7C22@phxmail02.phx.ndchealth.com> <20060825165634.GZ11427@fetter.org> Message-ID: On Aug 25, 2006, at 11:56 AM, David Fetter wrote: > Try Date::Manip from CPAN :) It's not the fastest date munging > library there, but it's very flexible. I'd recommend DateTime as the standard at this point. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From david at fetter.org Fri Aug 25 10:03:43 2006 From: david at fetter.org (David Fetter) Date: Fri, 25 Aug 2006 10:03:43 -0700 Subject: [sf-perl] Perl's to_date() equivalent In-Reply-To: References: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7C22@phxmail02.phx.ndchealth.com> <20060825165634.GZ11427@fetter.org> Message-ID: <20060825170343.GA11427@fetter.org> On Fri, Aug 25, 2006 at 11:58:52AM -0500, Andy Lester wrote: > > On Aug 25, 2006, at 11:56 AM, David Fetter wrote: > > > Try Date::Manip from CPAN :) It's not the fastest date munging > > library there, but it's very flexible. > > I'd recommend DateTime as the standard at this point. Thanks for the update. :) My information was pretty old. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From Peter.Loo at source.wolterskluwer.com Fri Aug 25 12:18:13 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Fri, 25 Aug 2006 12:18:13 -0700 Subject: [sf-perl] Perl's to_date() equivalent In-Reply-To: <20060825170343.GA11427@fetter.org> Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01DA7D6F@phxmail02.phx.ndchealth.com> Thanks guys. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of David Fetter Sent: Friday, August 25, 2006 10:04 AM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] Perl's to_date() equivalent On Fri, Aug 25, 2006 at 11:58:52AM -0500, Andy Lester wrote: > > On Aug 25, 2006, at 11:56 AM, David Fetter wrote: > > > Try Date::Manip from CPAN :) It's not the fastest date munging > > library there, but it's very flexible. > > I'd recommend DateTime as the standard at this point. Thanks for the update. :) My information was pretty old. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From andy at petdance.com Fri Aug 25 14:51:54 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 25 Aug 2006 16:51:54 -0500 Subject: [sf-perl] Anyone want a SF.pm wiki? Message-ID: I'm starting up wiki pages for PM groups on my box at home, both because I like wikis, and because I want to get Socialtext Open getting used and get feedback. See http://rakudo.org/chicago-pm for the Chicago on. If y'all would like an SF one, let me know. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From beppu at lbox.org Thu Aug 24 23:58:19 2006 From: beppu at lbox.org (John Beppu) Date: Thu, 24 Aug 2006 23:58:19 -0700 Subject: [sf-perl] Agile Perl position open at AirWave (San Mateo) In-Reply-To: <20060824170533.A16460@cobalt.blakem.com> References: <20060824184616.GA30371@mail.airwave.com> <20060824190740.GO11427@fetter.org> <20060824170533.A16460@cobalt.blakem.com> Message-ID: <44EE9F8B.6040201@lbox.org> Blake D. Mills IV wrote: >Sure... I think you might have mentioned it before. We intentionally >aren't using many of the advanced features of postgres. This is >mainly because we have a very dynamic schema, that any pair of >developers can change at any time. Sometimes our schema changes 5 >times a day! Since we have such a flexible process for changing our >schema, things like triggers/table-inheritance/perl-in-the-database >tend to slow our development down. So, we're mostly using postgres as >a vanilla SQL persistance layer. > > 5 schema changes in a day? That sounds scary. How do you pull that off without breaking a lot of code in the process? From david at fetter.org Fri Aug 25 17:40:52 2006 From: david at fetter.org (David Fetter) Date: Fri, 25 Aug 2006 17:40:52 -0700 Subject: [sf-perl] Anyone want a SF.pm wiki? In-Reply-To: References: Message-ID: <20060826004052.GH11427@fetter.org> On Fri, Aug 25, 2006 at 04:51:54PM -0500, Andy Lester wrote: > I'm starting up wiki pages for PM groups on my box at home, both > because I like wikis, and because I want to get Socialtext Open > getting used and get feedback. > > See http://rakudo.org/chicago-pm for the Chicago on. If y'all would > like an SF one, let me know. Sure, why not :) Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From andy at petdance.com Fri Aug 25 18:09:41 2006 From: andy at petdance.com (Andy Lester) Date: Fri, 25 Aug 2006 20:09:41 -0500 Subject: [sf-perl] Anyone want a SF.pm wiki? In-Reply-To: <20060826004052.GH11427@fetter.org> References: <20060826004052.GH11427@fetter.org> Message-ID: On Aug 25, 2006, at 7:40 PM, David Fetter wrote: >> See http://rakudo.org/chicago-pm for the Chicago on. If y'all would >> like an SF one, let me know. > > Sure, why not :) Let's get a few more "yes" votes, or at least something more emphatic before I bother. :-) -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From qw at sf.pm.org Fri Aug 25 18:47:02 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Fri, 25 Aug 2006 18:47:02 -0700 Subject: [sf-perl] Anyone want a SF.pm wiki? In-Reply-To: References: <20060826004052.GH11427@fetter.org> Message-ID: <20060826014702.GA92307@fu.funkspiel.org> On Fri, Aug 25, 2006 at 08:09:41PM -0500, Andy Lester wrote: > > On Aug 25, 2006, at 7:40 PM, David Fetter wrote: > > >> See http://rakudo.org/chicago-pm for the Chicago on. If y'all would > >> like an SF one, let me know. > > > > Sure, why not :) > > Let's get a few more "yes" votes, or at least something more emphatic > before I bother. :-) I personally don't like the wiki format, but if enough members want it, I'm all for it. And I think Andy is a rock star for offering. :) -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From matt at cloudfactory.org Sat Aug 26 21:52:14 2006 From: matt at cloudfactory.org (Matthew Lanier) Date: Sat, 26 Aug 2006 21:52:14 -0700 (PDT) Subject: [sf-perl] Anyone want a SF.pm wiki? In-Reply-To: <20060826014702.GA92307@fu.funkspiel.org> References: <20060826004052.GH11427@fetter.org> <20060826014702.GA92307@fu.funkspiel.org> Message-ID: On Fri, 25 Aug 2006, Quinn Weaver wrote: > I personally don't like the wiki format, but if enough members want > it, I'm all for it. And I think Andy is a rock star for offering. :) i'm not a wiki fan either, but if there's a good use for it[1], why not? seconded on the thanks to andy. thanks- m@ (list grand-mom) [1] any suggested uses? From andy at petdance.com Sat Aug 26 21:54:02 2006 From: andy at petdance.com (Andy Lester) Date: Sat, 26 Aug 2006 23:54:02 -0500 Subject: [sf-perl] Anyone want a SF.pm wiki? In-Reply-To: References: <20060826004052.GH11427@fetter.org> <20060826014702.GA92307@fu.funkspiel.org> Message-ID: <99A5512D-2B1B-4E31-81F4-69009AA37C0B@petdance.com> On Aug 26, 2006, at 11:52 PM, Matthew Lanier wrote: > i'm not a wiki fan either, but if there's a good use for it[1], why > not? You can take a look at the Chicago.PM wiki that we're working on. http://rakudo.org/chicago-pm xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From matt at cloudfactory.org Mon Aug 28 14:17:01 2006 From: matt at cloudfactory.org (Matthew Lanier) Date: Mon, 28 Aug 2006 14:17:01 -0700 (PDT) Subject: [sf-perl] [tech] LWP (fwd) Message-ID: hey folks- a friend had this question, and i am proxying for him. any thoughts on this? m@ -- Banditos: Perl LWP module has some chunking magic, but it only works with POST, where you give it a hash and a call-back function, you can use it in a file upload form practically out of the box. So, it must have some internals to do http Transfer-Encoding: chunked, but how do I do this with a $request-> that is a PUT ? I want to give it a call-back function that reads from the file and puts it into the buffer so I can send arbitrarily long files. Please don't spend a minute trying to Google this, etc., no such code may exist, and I have looked. From andy at petdance.com Mon Aug 28 14:22:12 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 28 Aug 2006 16:22:12 -0500 Subject: [sf-perl] [tech] LWP (fwd) In-Reply-To: References: Message-ID: <922C5432-E450-446D-AF54-F4FF39480840@petdance.com> > > Perl LWP module has some chunking magic, but it only works with > POST, where > you give it a hash and a call-back function, you can use it in a > file upload form practically out of the box. may want to try posting to the libwww-perl mailing list at lists.perl.org -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From andy at petdance.com Mon Aug 28 14:22:12 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 28 Aug 2006 16:22:12 -0500 Subject: [sf-perl] [tech] LWP (fwd) In-Reply-To: References: Message-ID: <922C5432-E450-446D-AF54-F4FF39480840@petdance.com> > > Perl LWP module has some chunking magic, but it only works with > POST, where > you give it a hash and a call-back function, you can use it in a > file upload form practically out of the box. may want to try posting to the libwww-perl mailing list at lists.perl.org -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From matt at cloudfactory.org Mon Aug 28 14:29:42 2006 From: matt at cloudfactory.org (Matthew Lanier) Date: Mon, 28 Aug 2006 14:29:42 -0700 (PDT) Subject: [sf-perl] [tech] LWP (fwd) In-Reply-To: <922C5432-E450-446D-AF54-F4FF39480840@petdance.com> References: <922C5432-E450-446D-AF54-F4FF39480840@petdance.com> Message-ID: many module-specific questions are answered here, it seems like an ok place to start. m@ On Mon, 28 Aug 2006, Andy Lester wrote: >> >> Perl LWP module has some chunking magic, but it only works with >> POST, where >> you give it a hash and a call-back function, you can use it in a >> file upload form practically out of the box. > > may want to try posting to the libwww-perl mailing list at > lists.perl.org > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > From andy at petdance.com Mon Aug 28 14:34:47 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 28 Aug 2006 16:34:47 -0500 Subject: [sf-perl] [tech] LWP (fwd) In-Reply-To: References: <922C5432-E450-446D-AF54-F4FF39480840@petdance.com> Message-ID: <7C30ED4F-7D7A-4498-9D15-A77409F16144@petdance.com> On Aug 28, 2006, at 4:29 PM, Matthew Lanier wrote: > many module-specific questions are answered here, it seems like an ok > place to start. Not disagreeing. Just saying the lwp list is pretty savvy about LWP internals. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From qw at sf.pm.org Tue Aug 29 12:53:26 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Tue, 29 Aug 2006 12:53:26 -0700 Subject: [sf-perl] Andy Lester's Chicago Hackathon Message-ID: <20060829195326.GA27190@fu.funkspiel.org> Andy is organizing an intensive weekend of hacking on Perl/Parrot/Perl6, much like the famous OpenBSD hackathons. The Perl Foundation is footing the bill. Everyone is invited. :) If you're going to be in the area or you're just a badass Perl hacker, read on for details. ------------------ [Andy writes] The Chicago Perl Mongers and The Perl Foundation are proud to announce the Fall 2006 Chicago Hackathon, the weekend of November 10-12, 2006 in suburban Crystal Lake, IL. It will be a round-the- clock weekend of programming on Perl-related projects with your colleagues in the open source community. Dozens of programmers from the open source community in the midwest, as well as others from around the US, will be getting together to share ideas, work on code, and move their Perl-related projects forward. The participants set the agenda for what we'll be working on, but Perl 6 and Parrot are already on the roster of projects. Chip Salzenberg, pumpking for the Parrot project, will be on hand to help with Parrot and Perl 6. Andy Lester will also be driving some Parrot maintenance tasks, and other midwest programmers will be working on their own projects. There's sure to be something interesting for everyone! Participation in the hackathon costs nothing. The Perl Foundation is even providing hotel rooms at a special rate if you want to spend the night. Even if you're in the area for just an hour, stop by, grab a snack or some pizza and talk with other people interested in Perl. You might contribute more than you think just by talking with other programmers. To find out more, visit http://hackathon.info. If you'll be attending, please sign in on the Attendees wiki page, and/or email rsvp at hackathon.info. You can also send questions to Andy Lester at andy at hackathon.info -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From andy at petdance.com Tue Aug 29 12:56:36 2006 From: andy at petdance.com (Andy Lester) Date: Tue, 29 Aug 2006 14:56:36 -0500 Subject: [sf-perl] Andy Lester's Chicago Hackathon In-Reply-To: <20060829195326.GA27190@fu.funkspiel.org> References: <20060829195326.GA27190@fu.funkspiel.org> Message-ID: On Aug 29, 2006, at 2:53 PM, Quinn Weaver wrote: > Andy is organizing an intensive weekend of hacking on Perl/Parrot/ > Perl6, > much like the famous OpenBSD hackathons. The Perl Foundation is > footing > the bill. Everyone is invited. :) Well, not exactly. TPF is footing the bill for space and snacks and dinner, and subsidizing your hotel room. You still have to pay $59/ night, and transportation is still entirely up to you. But still, it's quite a deal for quite a lot of fun! xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From Peter.Loo at source.wolterskluwer.com Wed Aug 30 10:15:00 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 30 Aug 2006 10:15:00 -0700 Subject: [sf-perl] DataTime.pm Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01E14115@phxmail02.phx.ndchealth.com> Hi All, My admin just installed the DateTime.pm version 0.2901 on our Solaris test server. When I test used it, I received the following error: Can't locate loadable object for module DateTime in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.6/sun4-solaris/XSLoader.pm line 44 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44. Compilation failed in require at date.pl line 3. BEGIN failed--compilation aborted at date.pl line 3. Line 44 of DateTime.pm is a right curley brace so I am confused. Peter Loo (Senior Software Engineer) Business Intelligence Applications Healthcare Analytics Group Pharma Solutions Business Unit Wolters Kluwer Health Healthcare Analytics 2394 E. Camelback Road, Phoenix, AZ 85016 (602) 381-9553 work (602) 721-2401 cell (602) 381-9448 fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060830/8201dc06/attachment.html From asheesh at asheesh.org Wed Aug 30 10:33:46 2006 From: asheesh at asheesh.org (Asheesh Laroia) Date: Wed, 30 Aug 2006 13:33:46 -0400 (EDT) Subject: [sf-perl] DataTime.pm In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01E14115@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01E14115@phxmail02.phx.ndchealth.com> Message-ID: On Wed, 30 Aug 2006, Loo, Peter # PHX wrote: > Hi All, > > My admin just installed the DateTime.pm version 0.2901 on our Solaris > test server. When I test used it, I received the following error: > > Can't locate loadable object for module DateTime in @INC (@INC contains: Sounds like there's some binary .so that DateTime usually comes with, but the admin upgraded only the .pm Perl file. So the new .pm can't find a .so that matches its version and gives up fast. The solution would be to make sure you recompile DateTime not just install the files from the tar.gz. I'm just a Perl hack, so consider this a suggestion and not quite advice. (-: -- Asheesh. -- It is better to give than to lend, and it costs about the same. From Peter.Loo at source.wolterskluwer.com Wed Aug 30 10:39:13 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 30 Aug 2006 10:39:13 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01E14159@phxmail02.phx.ndchealth.com> Hi, Here is a more descriptive output using debug: Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. Can't locate loadable object for module DateTime in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 118 DynaLoader::croak('Can\'t locate loadable object for module DateTime in @INC (@I...') called at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 196 DynaLoader::bootstrap('DateTime', 0.2901) called at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 125 DynaLoader::bootstrap_inherit('DateTime', 0.2901) called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 20 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 16 DateTime::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 require DateTime.pm called at ./date.pl line 3 main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 30 DateTime::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 require DateTime.pm called at ./date.pl line 3 main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44. at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 require DateTime.pm called at ./date.pl line 3 main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 Compilation failed in require at ./date.pl line 3. at ./date.pl line 3 main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 3 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 3 BEGIN failed--compilation aborted at ./date.pl line 3. at ./date.pl line 3 Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Asheesh Laroia Sent: Wednesday, August 30, 2006 10:34 AM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] DataTime.pm On Wed, 30 Aug 2006, Loo, Peter # PHX wrote: > Hi All, > > My admin just installed the DateTime.pm version 0.2901 on our Solaris > test server. When I test used it, I received the following error: > > Can't locate loadable object for module DateTime in @INC (@INC contains: Sounds like there's some binary .so that DateTime usually comes with, but the admin upgraded only the .pm Perl file. So the new .pm can't find a .so that matches its version and gives up fast. The solution would be to make sure you recompile DateTime not just install the files from the tar.gz. I'm just a Perl hack, so consider this a suggestion and not quite advice. (-: -- Asheesh. -- It is better to give than to lend, and it costs about the same. _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From garth.webb at gmail.com Wed Aug 30 14:30:23 2006 From: garth.webb at gmail.com (Garth Webb) Date: Wed, 30 Aug 2006 14:30:23 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01E14159@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01E14159@phxmail02.phx.ndchealth.com> Message-ID: Sounds like your administrator did not install DateTime properly. You need to talk to him and ask him to reinstall the module. If he did it correctly, this command line should run with no output or errors: perl -MDateTime -e 1 Garth On 8/30/06, Loo, Peter # PHX wrote: > > Hi, > > Here is a more descriptive output using debug: > > Loading DB routines from perl5db.pl version 1.28 > Editor support available. > > Enter h or `h h' for help, or `man perldebug' for more help. > > Can't locate loadable object for module DateTime in @INC (@INC contains: > /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/local/lib/perl5/5.8.6 > /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.6 > /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.3 > /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) > at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 118 > DynaLoader::croak('Can\'t locate loadable object for module > DateTime in @INC (@I...') called at > /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 196 > DynaLoader::bootstrap('DateTime', 0.2901) called at > /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 125 > DynaLoader::bootstrap_inherit('DateTime', 0.2901) called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 20 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 16 > DateTime::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > require DateTime.pm called at ./date.pl line 3 > main::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 30 > DateTime::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > require DateTime.pm called at ./date.pl line 3 > main::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44. > at /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > require DateTime.pm called at ./date.pl line 3 > main::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 44 > Compilation failed in require at ./date.pl line 3. > at ./date.pl line 3 > main::BEGIN() called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 3 > eval {...} called at > /usr/local/lib/perl5/site_perl/5.8.6/DateTime.pm line 3 > BEGIN failed--compilation aborted at ./date.pl line 3. > at ./date.pl line 3 > > > Peter > > -----Original Message----- > From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org > [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or > g] On Behalf Of Asheesh Laroia > Sent: Wednesday, August 30, 2006 10:34 AM > To: San Francisco Perl Mongers User Group > Subject: Re: [sf-perl] DataTime.pm > > On Wed, 30 Aug 2006, Loo, Peter # PHX wrote: > > > Hi All, > > > > My admin just installed the DateTime.pm version 0.2901 on our Solaris > > test server. When I test used it, I received the following error: > > > > Can't locate loadable object for module DateTime in @INC (@INC > contains: > > Sounds like there's some binary .so that DateTime usually comes with, > but the admin upgraded only the .pm Perl file. So the new .pm can't > find a .so that matches its version and gives up fast. The solution > would be to make sure you recompile DateTime not just install the files > from the tar.gz. > > I'm just a Perl hack, so consider this a suggestion and not quite > advice. > (-: > > -- Asheesh. > > -- > It is better to give than to lend, and it costs about the same. > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > > This E-mail message is for the sole use of the intended recipient(s) and > may contain confidential and privileged information. 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. > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060830/10e4b73c/attachment.html From Peter.Loo at source.wolterskluwer.com Wed Aug 30 15:39:47 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 30 Aug 2006 15:39:47 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01E14343@phxmail02.phx.ndchealth.com> It turns out that the installation failed. It is barking about: # perl Makefile.PL Testing if you have a C compiler gcc -c -o test.o test.c Warning: prerequisite DateTime::Locale 0.21 not found. Warning: prerequisite DateTime::TimeZone 0.26 not found. Warning: prerequisite Params::Validate 0.76 not found. Writing Makefile for DateTime PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load................# Failed test (t/00load.t at line 6) # Tried to use 'DateTime'. # Error: Can't locate Params/Validate.pm in @INC (@INC contains: /export/home/itsssw1/DateTime-0.2901/blib/lib /export/home/its ssw1/DateTime-0.2901/blib/arch /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/local/lib/perl5/ 5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris /usr/local/lib/perl5/site_ perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/ site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_per l/5.8.6/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/sit e_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl . /usr/local/lib/perl5/5.8.6/sun4-solaris /usr/loca l/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_p erl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) a t /export/home/itsssw1/DateTime-0.2901/blib/lib/DateTime/Duration.pm line 5. # BEGIN failed--compilation aborted at /export/home/itsssw1/DateTime-0.2901/blib/lib/DateTime/Duration.pm line 5. Peter Loo Wolters Kluwer Health (602) 381-9553 ________________________________ From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of Garth Webb Sent: Wednesday, August 30, 2006 2:30 PM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] DataTime.pm Sounds like your administrator did not install DateTime properly. You need to talk to him and ask him to reinstall the module. If he did it correctly, this command line should run with no output or errors: perl -MDateTime -e 1 Garth -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20060830/ec1f86d3/attachment.html From david at fetter.org Wed Aug 30 15:43:43 2006 From: david at fetter.org (David Fetter) Date: Wed, 30 Aug 2006 15:43:43 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01E14343@phxmail02.phx.ndchealth.com> References: <8E3D502A002DA04FADBDED4CB4D94D3A01E14343@phxmail02.phx.ndchealth.com> Message-ID: <20060830224343.GB28387@fetter.org> On Wed, Aug 30, 2006 at 03:39:47PM -0700, Loo, Peter # PHX wrote: > > It turns out that the installation failed. It is barking about: How come you're not using your OS's packaging system or CPAN to do this installation? Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! From Peter.Loo at source.wolterskluwer.com Wed Aug 30 15:46:09 2006 From: Peter.Loo at source.wolterskluwer.com (Loo, Peter # PHX) Date: Wed, 30 Aug 2006 15:46:09 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: <20060830224343.GB28387@fetter.org> Message-ID: <8E3D502A002DA04FADBDED4CB4D94D3A01E1434A@phxmail02.phx.ndchealth.com> Sorry David, I don't understand what you mean. Peter -----Original Message----- From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or g] On Behalf Of David Fetter Sent: Wednesday, August 30, 2006 3:44 PM To: San Francisco Perl Mongers User Group Subject: Re: [sf-perl] DataTime.pm On Wed, Aug 30, 2006 at 03:39:47PM -0700, Loo, Peter # PHX wrote: > > It turns out that the installation failed. It is barking about: How come you're not using your OS's packaging system or CPAN to do this installation? Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! _______________________________________________ SanFrancisco-pm mailing list SanFrancisco-pm at pm.org http://mail.pm.org/mailman/listinfo/sanfrancisco-pm This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. 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. From david at fetter.org Wed Aug 30 16:14:52 2006 From: david at fetter.org (David Fetter) Date: Wed, 30 Aug 2006 16:14:52 -0700 Subject: [sf-perl] DataTime.pm In-Reply-To: <8E3D502A002DA04FADBDED4CB4D94D3A01E1434A@phxmail02.phx.ndchealth.com> References: <20060830224343.GB28387@fetter.org> <8E3D502A002DA04FADBDED4CB4D94D3A01E1434A@phxmail02.phx.ndchealth.com> Message-ID: <20060830231452.GD28387@fetter.org> On Wed, Aug 30, 2006 at 03:46:09PM -0700, Loo, Peter # PHX wrote: > Sorry David, I don't understand what you mean. If you're using Solaris, it has a way to install software packages. If that way doesn't work, use the cpan program :) Cheers, D > > Peter > > -----Original Message----- > From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org > [mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or > g] On Behalf Of David Fetter > Sent: Wednesday, August 30, 2006 3:44 PM > To: San Francisco Perl Mongers User Group > Subject: Re: [sf-perl] DataTime.pm > > On Wed, Aug 30, 2006 at 03:39:47PM -0700, Loo, Peter # PHX wrote: > > > > It turns out that the installation failed. It is barking about: > > How come you're not using your OS's packaging system or CPAN to do this > installation? > > Cheers, > D > -- > David Fetter http://fetter.org/ > phone: +1 415 235 3778 AIM: dfetter666 > Skype: davidfetter > > Remember to vote! > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > > > This E-mail message is for the sole use of the intended recipient(s) and > may contain confidential and privileged information. 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. > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote!