From bhess at techrg.com Wed Apr 2 12:53:36 2008 From: bhess at techrg.com (Bill Hess) Date: Wed, 02 Apr 2008 15:53:36 -0400 Subject: [Detroit-pm] [Fwd: [pm_groups] perl training deadline] Message-ID: <47F3E440.1050506@techrg.com> the perl college is scheduled for april 28 - may 2. if you plan to participate please submit your student or sponsorship application soon. there are still a few slots open for students and sponsors as well as training seats that can be purchased. this is a week of intermediate perl classes taught by damian conway, the foremost perl trainer on the planet. it is FREE to qualified students who are looking to go from a junior developer to the intermediate level. this is meant to train you up so that you are more likely to be hired in a better perl job. see this page on how to apply for a free seat at the perl college: http://perlhunter.com/students.html if you are a company looking to hire qualified perl developers, please apply to be a sponsor of the perl college. this will gain you access to about 20 well trained developers who are actively looking to take the next step in their perl career. the placement fees for students graduating the perl college are negotiable. for information on how to be a sponsor see this page: http://perlhunter.com/sponsors.html if you are already working and would like to attend this week of perl classes, you can buy a seat for $3000. please contact me at uri AT perlhunter.com to purchase a seat or to ask me any questions. thanx, uri, dean of the perl college. -- Uri Guttman ------ uri at stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Free Perl Training --- http://perlhunter.com/college.html --------- --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- From Todd.Chapman at eprize.com Mon Apr 7 11:02:10 2008 From: Todd.Chapman at eprize.com (Todd Chapman) Date: Mon, 7 Apr 2008 14:02:10 -0400 Subject: [Detroit-pm] Detroit.pm call for volunteers Message-ID: <64D0546C5EBBD147B75DE133D798665F1BF85A@hugo.eprize.local> All, The next Detroit.pm meeting is Tuesday, April 15th. Next week! As of now we have no scheduled talks. Most presentations are given by ePrizer's. We would really like to get some others to contribute. Please don't be shy. Everyone has something worth sharing! If you would like to give a talk please contact me ASAP. Todd Chapman todd.chapman at eprize.com Software Engineer ePrize From Todd.Chapman at eprize.com Mon Apr 14 07:34:14 2008 From: Todd.Chapman at eprize.com (Todd Chapman) Date: Mon, 14 Apr 2008 10:34:14 -0400 Subject: [Detroit-pm] This month's Detroit.pm meeting is cancelled Message-ID: <64D0546C5EBBD147B75DE133D798665F41DB11@hugo.eprize.local> All, Unfortunately we have no scheduled speaker for this month's meeting. I think we have a volunteer for next month so plan on attending the May 19th meeting. Everyone has something to contribute. It doesn't even have to be about Perl. See you all next month. Todd Chapman todd.chapman at eprize.com Software Engineer ePrize From dondukelow at yahoo.com Mon Apr 14 07:34:39 2008 From: dondukelow at yahoo.com (Donald Dukelow) Date: Mon, 14 Apr 2008 07:34:39 -0700 (PDT) Subject: [Detroit-pm] Net::SSH::Perl using SSH1 Message-ID: <561287.11167.qm@web53411.mail.re2.yahoo.com> I just resently install Niet::SSH::Perl and all it's depacies on a Red Hat Linix sustem. When I use SSH2 there is no problem. But when I have to use SSH1 I get the following error. Can't locate object method "new" via package "Math::GMP" at /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Buffer.pm line 148. Line 148 readds Math::GMP->new("0x$hex"); The line in my code reads. # my $ssh = Net::SSH::Perl->new("$sw_info->[3]", protocol => '1'); my $ssh = Net::SSH::Perl->new("$sw_info->[3]"); I've tried it both ways and the network switch doesn't take SSH2 at all. The array elemament $sw_info->[3] contains the IP address of the network switch I want to connect to. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080414/d52920c7/attachment.html From bhess at techrg.com Mon Apr 14 08:10:43 2008 From: bhess at techrg.com (Bill Hess) Date: Mon, 14 Apr 2008 11:10:43 -0400 Subject: [Detroit-pm] Net::SSH::Perl using SSH1 In-Reply-To: <561287.11167.qm@web53411.mail.re2.yahoo.com> References: <561287.11167.qm@web53411.mail.re2.yahoo.com> Message-ID: <480373F3.10508@techrg.com> We had to support Net::SFTP in a project last year and spent the time figuring out all of the Perl modules to compile - not sure if this will help you out - but I figured it cannot hurt to send so you can double check the modules. We were using our own build of Perl 5.8.8 (not the one that is shipped with Redhat Linux) and Redhat 9 and RHEL 4.1 - our build of Perl is generic I think this list is complete but there might be 1/2 other module dependencies - the versions listed are what we used and typically were the latest at the time which was about 1 year ago (I think) - here they are in order: NOTE: The Math-Pari module depends on some source code that must be downloaded separately. Uncompress and untar under the same dir where you download all the modules - get it from: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.3.2.tar.gz http://search.cpan.org/CPAN/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.4.tar.gz http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-0.70.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInt-1.86.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigRat-0.19.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/bignum-0.21.tar.gz http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.010709.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInt-FastCalc-0.14.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInt-Pari-1.12.tar.gz http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInt-GMP-1.22.tar.gz http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Class-ErrorHandler-0.01.tar.gz http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-DES-2.05.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-0.01.tar.gz http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-0.21.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Convert-PEM-0.07.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-Buffer-0.04.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DSA-0.14.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Class-Loader-2.03.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-Random-1.25.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DH-0.06.tar.gz http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-1.01.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Convert-ASCII-Armour-1.4.tar.gz http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-2.10.tar.gz http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Crypt-CBC-2.22.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-Primes-0.50.tar.gz http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD2-2.03.tar.gz http://search.cpan.org/CPAN/authors/id/E/ED/EDAVIS/Sort-Versions-1.5.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Tie-EncryptedHash-1.21.tar.gz http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-RSA-1.58.tar.gz http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Digest-BubbleBabble-0.01.tar.gz http://search.cpan.org/CPAN/authors/id/D/DB/DBROBINS/Net-SSH-Perl-1.30.tar.gz http://search.cpan.org/CPAN/authors/id/D/DB/DBROBINS/Net-SFTP-0.10.tar.gz Donald Dukelow wrote: > I just resently install Niet::SSH::Perl and all it's depacies on a Red > Hat Linix sustem. When I use SSH2 there is no problem. But when I > have to use SSH1 I get the following error. > > Can't locate object method "new" via package "Math::GMP" at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Buffer.pm line 148. > Line 148 readds > > Math::GMP->new("0x$hex"); > The line in my code reads. > # my $ssh = Net::SSH::Perl->new("$sw_info->[3]", protocol => '1'); > my $ssh = Net::SSH::Perl->new("$sw_info->[3]"); > I've tried it both ways and the network switch doesn't take SSH2 at all. > The array elemament $sw_info->[3] contains the IP address of the > network switch I want to connect to. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Detroit-pm mailing list > Detroit-pm at pm.org > http://mail.pm.org/mailman/listinfo/detroit-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080414/a62a129d/attachment.html From bhess at techrg.com Tue Apr 15 06:23:09 2008 From: bhess at techrg.com (Bill Hess) Date: Tue, 15 Apr 2008 09:23:09 -0400 Subject: [Detroit-pm] [Fwd: [pm_groups] Registration open for NPW 2008] Message-ID: <4804AC3D.8090303@techrg.com> For anyone traveling to Sweden... -------- Original Message -------- Subject: [pm_groups] Registration open for NPW 2008 Date: Tue, 15 Apr 2008 09:55:55 +0200 From: Claes Jakobsson To: pm_groups at pm.org Hi, please forward this to your local group(s). Thanks, Claes, Stockholm Perl Mongers ---- The website for Nordic Perl Workshop 2008 is now online and registration is open at http://conferences.yapceurope.org/npw2008/ Workshop fee is 500 SEK (~ 55 EUR) or 250 SEK (~ 28 EUR) if you're a student. And as usual speakers (not lightning talks) are exempted from the fee. Talk proposals can be done online and should be in no later than May 2nd. So visit now and register for the workshop! See you in Stockholm, Claes Jakobsson on behalf of the Nordic Perl Workshop 2008 organization team. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080415/690f9011/attachment.html From treii28 at yahoo.com Wed Apr 23 08:44:57 2008 From: treii28 at yahoo.com (Scott Webster Wood) Date: Wed, 23 Apr 2008 08:44:57 -0700 (PDT) Subject: [Detroit-pm] Conditional Carp? Message-ID: <768059.153.qm@web38003.mail.mud.yahoo.com> Anyone have a good 'trick' to use either Carp or CGI::Carp depending on if you are running a script from the web or from the command line? I'm sure I could figure it out with some time spent and it would be easy enough to test against various $ENV variables that would only be defined from a browser request, but both Carp and CGI::Carp use the same method names. SW ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From dondukelow at yahoo.com Wed Apr 23 13:38:29 2008 From: dondukelow at yahoo.com (Donald Dukelow) Date: Wed, 23 Apr 2008 13:38:29 -0700 (PDT) Subject: [Detroit-pm] Runnibg Perl script from Oracle. Message-ID: <282492.86992.qm@web53410.mail.re2.yahoo.com> Another person and myself are programming a application that runs a Perl scrip from an Oracle. The script works fine when run from command line but when run from Oracle it looks like it is run twice. The two versions step on each other and nothing works. I've figured out that it is the "unlink" command causing the two runs to step on each other. When I take the "unlink" out it works but the program still runs twice and I leave scratch files laying around. Does anyone have any ideas how to fix this or where to look. Don Dukelow --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080423/2f28c52c/attachment.html From Todd.Chapman at eprize.com Wed Apr 23 14:33:56 2008 From: Todd.Chapman at eprize.com (Todd Chapman) Date: Wed, 23 Apr 2008 17:33:56 -0400 Subject: [Detroit-pm] Runnibg Perl script from Oracle. In-Reply-To: <282492.86992.qm@web53410.mail.re2.yahoo.com> References: <282492.86992.qm@web53410.mail.re2.yahoo.com> Message-ID: <64D0546C5EBBD147B75DE133D798665F41DDE1@hugo.eprize.local> Some code to look at would help. ________________________________ From: detroit-pm-bounces+todd.chapman=eprize.com at pm.org [mailto:detroit-pm-bounces+todd.chapman=eprize.com at pm.org] On Behalf Of Donald Dukelow Sent: Wednesday, April 23, 2008 4:38 PM To: detroit-pm at pm.org Subject: [Detroit-pm] Runnibg Perl script from Oracle. Another person and myself are programming a application that runs a Perl scrip from an Oracle. The script works fine when run from command line but when run from Oracle it looks like it is run twice. The two versions step on each other and nothing works. I've figured out that it is the "unlink" command causing the two runs to step on each other. When I take the "unlink" out it works but the program still runs twice and I leave scratch files laying around. Does anyone have any ideas how to fix this or where to look. Don Dukelow ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080423/479a1833/attachment.html From rlw at hamjudo.com Sat Apr 26 16:40:45 2008 From: rlw at hamjudo.com (Ron Wilson) Date: Sat, 26 Apr 2008 19:40:45 -0400 (EDT) Subject: [Detroit-pm] problem installing XML::Parser (fwd) Message-ID: Hi, I have been trying to install XML::Parser, but I keep getting file not found for Expat.h when either cpan or make tries to compile Expat.c I have tried both "cpan XML::Parser" and teh "extract/perl Makefile.PL/make" 3 step and get the same results. I also tried "cpan XML::Parser::Expat" and got the same error. I have tried sveral older version of XML::Parser as well and still the error. I an running Mepis 7, updated with apt-get update;apt-get upgrade as of yesterday. From a.r.ferreira at gmail.com Sat Apr 26 16:54:46 2008 From: a.r.ferreira at gmail.com (Adriano Ferreira) Date: Sat, 26 Apr 2008 20:54:46 -0300 Subject: [Detroit-pm] problem installing XML::Parser (fwd) In-Reply-To: References: Message-ID: <73ddeb6c0804261654h1dfdd8d2xa186509ab6aab844@mail.gmail.com> On Sat, Apr 26, 2008 at 8:40 PM, Ron Wilson wrote: > Hi, > > I have been trying to install XML::Parser, but I keep getting file not found > for Expat.h when either cpan or make tries to compile Expat.c I think that's because XML::Parser has an external (not CPAN-) dependency on libexpat (whose package will bring together the missing header file). Many CPAN build scripts do a poor job detecting that external requirements are missing and producing comprehensible messages on these situations. If that is the case, installing libexpat via apt-get itself should be enough for the build to proceed next time. Cheers, Adriano Ferreira > I have tried both "cpan XML::Parser" and teh "extract/perl Makefile.PL/make" 3 > step and get the same results. > > I also tried "cpan XML::Parser::Expat" and got the same error. > > I have tried sveral older version of XML::Parser as well and still the error. > > I an running Mepis 7, updated with apt-get update;apt-get upgrade as of > yesterday. > > _______________________________________________ > Detroit-pm mailing list > Detroit-pm at pm.org > http://mail.pm.org/mailman/listinfo/detroit-pm > From rlw at hamjudo.com Sat Apr 26 18:48:18 2008 From: rlw at hamjudo.com (Ron Wilson) Date: Sat, 26 Apr 2008 21:48:18 -0400 (EDT) Subject: [Detroit-pm] problem installing XML::Parser Message-ID: Adriano Ferreira wrote: > I think that's because XML::Parser has an external dependency Thanks, I found and installed the libxml-parser-perl package. From jam at McQuil.com Sat Apr 26 20:11:28 2008 From: jam at McQuil.com (Jim McQuillan) Date: Sat, 26 Apr 2008 23:11:28 -0400 Subject: [Detroit-pm] problem installing XML::Parser In-Reply-To: References: Message-ID: <4813EEE0.5090001@McQuil.com> I ran into this exact problem last week. It's a bug in one of the build scripts. when it calls the C compiler, it's passing a relative search path for includes, rather than an absolute path. Something like: -Iusr/kerberos/include, instead of -I/usr/kerberos/include There were 3 files it was searching for. To get around it, I created 3 symlinks like this: cd /usr/include ln -s /usr/kerberos/include/profile.h profile.h ln -s /usr/kerberos/include/com_err.h comm_err.h ln -s /usr/kerberos/include/krb5.h krb5.h Once I did that, then CPAN was happy, and the build succeeded. Afterwards, I removed the symlinks. I couldn't do the libxml-parser-perl package, because this was on a fairly old Redhat box. I'm pointing this out, incase others need to install this package and don't have the distro packages to grab from. Jim McQuillan jam at Ltsp.org Ron Wilson wrote: > Adriano Ferreira wrote: >> I think that's because XML::Parser has an external dependency > > Thanks, I found and installed the libxml-parser-perl package. > > _______________________________________________ > Detroit-pm mailing list > Detroit-pm at pm.org > http://mail.pm.org/mailman/listinfo/detroit-pm From bhess at techrg.com Sat Apr 26 20:47:45 2008 From: bhess at techrg.com (Bill Hess) Date: Sat, 26 Apr 2008 23:47:45 -0400 Subject: [Detroit-pm] problem installing XML::Parser (fwd) In-Reply-To: References: Message-ID: <4813F761.2060107@techrg.com> You can always build expat yourself - download it from http://expat.sourceforge.net/ tar xzf expat-2.0.1.tar.gz cd expat-2.0.1 ./configure --prefix=/the/dir/for/expat make make install Then build XML::Parser http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz perl Makefile.PL EXPATLIBPATH=/the/dir/for/expat/lib EXPATINCPATH=/the/dir/for/expat/include make make test make install While you are installing XML::Parser - I highly recommend XML-DOM-XPath Here are the modules for it - in order: http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-RegExp-0.03.tar.gz http://search.cpan.org/CPAN/authors/id/K/KM/KMACLEOD/libxml-perl-0.08.tar.gz http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-DOM-1.44.tar.gz http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-XPathEngine-0.08.tar.gz http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-DOM-XPath-0.13.tar.gz Bill Hess Technology Resource Group Office: 248.546.6900 x12 Fax: 248.546.7310 Mobile: 248.703.1196 Ron Wilson wrote: > Hi, > > I have been trying to install XML::Parser, but I keep getting file not found > for Expat.h when either cpan or make tries to compile Expat.c > > I have tried both "cpan XML::Parser" and teh "extract/perl Makefile.PL/make" 3 > step and get the same results. > > I also tried "cpan XML::Parser::Expat" and got the same error. > > I have tried sveral older version of XML::Parser as well and still the error. > > I an running Mepis 7, updated with apt-get update;apt-get upgrade as of > yesterday. > > _______________________________________________ > Detroit-pm mailing list > Detroit-pm at pm.org > http://mail.pm.org/mailman/listinfo/detroit-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080426/b840c2b3/attachment.html