From richard at rushlogistics.com Tue Sep 1 10:52:47 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Tue, 01 Sep 2015 12:52:47 -0500 Subject: [Chicago-talk] OT Credit Card Payments Message-ID: <20150901125247.1d6ah124ckcgs8oc@hostingemail.xo.com> I am looking at various credit card payments modules Business-CreditCard-0.33, Business-OnlinePayment-2.01and Business::PayPal. Does anyone know if any of these modules will allow me to defer a portion of payment to a 3rd party such as a charity. So that the users card is charged x amount and then y amount which goes directly to a charity? Thanks, Richard From richard at rushlogistics.com Thu Sep 10 06:05:26 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Thu, 10 Sep 2015 08:05:26 -0500 Subject: [Chicago-talk] Net::Stripe vs Business::Stripe Message-ID: <20150910080526.uoar6w9ta8s8804g@hostingemail.xo.com> I am trying to set up payment processing and was looking at getting started with one of these two modules. Does anyone have any knowledge or opinions about either -- or advice for someone just getting started on this path. I hoping to try to do some sort of comparison before I chose one. Any wisdom greatly appreciated. Thanks, Richard From amead2 at alanmead.org Thu Sep 10 06:51:32 2015 From: amead2 at alanmead.org (Alan Mead) Date: Thu, 10 Sep 2015 08:51:32 -0500 Subject: [Chicago-talk] Net::Stripe vs Business::Stripe In-Reply-To: <20150910080526.uoar6w9ta8s8804g@hostingemail.xo.com> References: <20150910080526.uoar6w9ta8s8804g@hostingemail.xo.com> Message-ID: <55F18AE4.9050204@alanmead.org> Richard, I haven't used Stripe but quite a while ago I looked into using PayPal and Stripe seems similar. The Business::Stripe package describes the Net::Stripe as "Full featured implementation" so my guess is that you might find limitations. But one of the websites I read to learn about Stripe suggested that you should be using Stripe.js: https://stripe.com/docs/stripe.js The article said: "Stripe's killer feature when they first launched was Stripe.js. When you use Stripe.js on your website, the credit card data entered into your payment form is never sent to your server...." https://memberful.com/blog/stripe-vs-paypal/ I'd like to hear about your final solution and how it works when you get there. -Alan On 9/10/2015 8:05 AM, richard at rushlogistics.com wrote: > I am trying to set up payment processing and was looking at getting started with one of these two modules. Does anyone have any knowledge or opinions about either -- or advice for someone just getting started on this path. I hoping to try to do some sort of comparison before I chose one. > > Any wisdom greatly appreciated. > > Thanks, > > Richard > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat From richard at rushlogistics.com Thu Sep 10 07:24:35 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Thu, 10 Sep 2015 09:24:35 -0500 Subject: [Chicago-talk] Net::Stripe vs Business::Stripe In-Reply-To: <55F18AE4.9050204@alanmead.org> References: <20150910080526.uoar6w9ta8s8804g@hostingemail.xo.com> <55F18AE4.9050204@alanmead.org> Message-ID: <20150910092435.qn7trj19w8484wws@hostingemail.xo.com> On Thu, 10 Sep 2015 08:51:32 -0500, Alan Mead wrote: Richard, I haven't used Stripe but quite a while ago I looked into using PayPal and Stripe seems similar. The Business::Stripe package describes the Net::Stripe as "Full featured implementation" so my guess is that you might find limitations. But one of the websites I read to learn about Stripe suggested that you should be using Stripe.js: https://stripe.com/docs/stripe.js The article said: "Stripe's killer feature when they first launched was Stripe.js. When you use Stripe.js on your website, the credit card data entered into your payment form is never sent to your server...." https://memberful.com/blog/stripe-vs-paypal/ I'd like to hear about your final solution and how it works when you get there. -Alan Hi Alan, ? ? Thank you once again for the very thorough reply. I will be sure to let you know what I end up with. I am trying to figure out a way to collect charitable contributions via credit card and then pass them on to the designated charities. There are companies that can do this for me like Network for Good but they seem to ba a pain to deal with -- Network for Good has yet to return my call or my email and firstgiving takes about a 7.5% cut and seems to have a somewhat limmited API http://www.massnonprofit.org/expert.php?artid=2326&? So I am exploring just creating a 501c3 that collects the payment and then sends the charity a an ACH payment. Doing this will be a great challenge for me to say the least, but I will let you know how it goes. ? Thanks again for the reply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Tue Sep 15 15:16:58 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Tue, 15 Sep 2015 17:16:58 -0500 Subject: [Chicago-talk] Module install problem Message-ID: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> Can anybody help with a solution as to how I can get this package istalled? Thanks perl -MCPAN -e 'install Crypt::SSLeay'; Reading '/root/.cpan/Metadata' ? Database was generated on Tue, 15 Sep 2015 03:29:02 GMT Running install for module 'Crypt::SSLeay' Checksum for /root/.cpan/sources/authors/id/N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz ok tmp-15382 for tmp-15382: No such file or directory at /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. Configuring N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz with Makefile.PL Cannot link with any of the requested SSL libraries 'ssl, crypto, ssl32, ssleay32, eay32, libeay32, z' No 'Makefile' created? NANIS/Crypt-SSLeay-0.72.tar.gz ? /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK From madcityzen at gmail.com Tue Sep 15 15:34:04 2015 From: madcityzen at gmail.com (Doug Bell) Date: Tue, 15 Sep 2015 17:34:04 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> Message-ID: <74846245-2841-48D4-A50C-B8FFFFED0940@gmail.com> Crypt::SSLeay requires some version of libssl on your system. Generally that's OpenSSL. It also looks like it wants libz (or, as your package manager probably calls it, zlib). You'll need the headers for those libraries installed as well, which is likely a different package (-dev or -devel depending on apt or yum). Doug Bell madcityzen at gmail.com > On Sep 15, 2015, at 5:16 PM, richard at rushlogistics.com wrote: > > Can anybody help with a solution as to how I can get this package istalled? Thanks > > perl -MCPAN -e 'install Crypt::SSLeay'; > Reading '/root/.cpan/Metadata' > Database was generated on Tue, 15 Sep 2015 03:29:02 GMT > Running install for module 'Crypt::SSLeay' > Checksum for /root/.cpan/sources/authors/id/N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz ok > tmp-15382 for tmp-15382: No such file or directory at /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. > Configuring N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz with Makefile.PL > Cannot link with any of the requested SSL libraries 'ssl, crypto, ssl32, ssleay32, eay32, libeay32, z' > No 'Makefile' created NANIS/Crypt-SSLeay-0.72.tar.gz > /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.c.carroll at gmail.com Tue Sep 15 15:34:31 2015 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Tue, 15 Sep 2015 17:34:31 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> Message-ID: It looks like you need to install a ssl library. Use apt or yum and you will be good to go. On Sep 15, 2015 5:17 PM, wrote: > Can anybody help with a solution as to how I can get this package > istalled? Thanks > > perl -MCPAN -e 'install Crypt::SSLeay'; > Reading '/root/.cpan/Metadata' > Database was generated on Tue, 15 Sep 2015 03:29:02 GMT > Running install for module 'Crypt::SSLeay' > Checksum for > /root/.cpan/sources/authors/id/N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz ok > tmp-15382 for tmp-15382: No such file or directory at > /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. > Configuring N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz with Makefile.PL > Cannot link with any of the requested SSL libraries 'ssl, crypto, ssl32, > ssleay32, eay32, libeay32, z' > No 'Makefile' created NANIS/Crypt-SSLeay-0.72.tar.gz > /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkeen at verizon.net Tue Sep 15 15:52:10 2015 From: jkeen at verizon.net (James E Keenan) Date: Tue, 15 Sep 2015 18:52:10 -0400 Subject: [Chicago-talk] Module install problem In-Reply-To: References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> Message-ID: <55F8A11A.3080809@verizon.net> On 09/15/2015 06:34 PM, Shawn Carroll wrote: > It looks like you need to install a ssl library. Use apt or yum and you > will be good to go. > On Sep 15, 2015 5:17 PM, wrote: > What the other guys said++ I've run into this problem with Crypt::SSLeay many times over the years ... decades. Install an SSL library with your package installer and try again. Thank you very much. Jim Keenan From jtk at depaul.edu Tue Sep 15 15:44:11 2015 From: jtk at depaul.edu (John Kristoff) Date: Tue, 15 Sep 2015 22:44:11 +0000 Subject: [Chicago-talk] Module install problem In-Reply-To: References: Message-ID: <20150915224411.GB23963@aharp.iorc.depaul.edu> On Tue, Sep 15, 2015 at 10:16:58PM +0000, richard at rushlogistics.com wrote: > Can anybody help with a solution as to how I can get this package istalled? Thanks It looks like you're missing some base libraries. Not knowing what OS you are using, but for instance with a Debian-based system, this might require things like libssl-dev. In fact if you use a package system, it might be best to just use the perl package of that library so it will pull in all that you need. Again on Debian, 'apt-get install libnet-ssleay-perl' should do the trick. John From richard at rushlogistics.com Tue Sep 15 19:00:14 2015 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 15 Sep 2015 21:00:14 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150915224411.GB23963@aharp.iorc.depaul.edu> References: <20150915224411.GB23963@aharp.iorc.depaul.edu> Message-ID: John, Thank you very much for your reply. It is in face Debian that I am using. I will try your suggestion in the morning when I return to the office. Thanks again. > El sept 15, 2015, a las 5:44 PM, John Kristoff escribi?: > >> On Tue, Sep 15, 2015 at 10:16:58PM +0000, richard at rushlogistics.com wrote: >> Can anybody help with a solution as to how I can get this package istalled? Thanks > > It looks like you're missing some base libraries. Not knowing what OS > you are using, but for instance with a Debian-based system, this might > require things like libssl-dev. In fact if you use a package system, it > might be best to just use the perl package of that library so it will > pull in all that you need. Again on Debian, 'apt-get install > libnet-ssleay-perl' should do the trick. > > John > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From richard at rushlogistics.com Wed Sep 16 05:49:58 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 16 Sep 2015 07:49:58 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <55F8A11A.3080809@verizon.net> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> Message-ID: <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> On 09/15/2015 06:34 PM, Shawn Carroll wrote: > It looks like you need to install a ssl library. Use apt or yum and you > will be good to go. > On Sep 15, 2015 5:17 PM, wrote: > What the other guys said++ I've run into this problem with Crypt::SSLeay many times over the years .. decades. Install an SSL library with your package installer and try again. Okay, an undepected outcome: ? # apt-get install libnet-ssleay-perl Reading package lists... Done Building dependency tree?????? Reading state information... Done libnet-ssleay-perl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Just to make sure went ahead and tried to install my packagae again and still got the Crypt::SSLeay failed depenency: ? Failed 1/15 test programs. 0/35 subtests failed. ? FAYLAND/WWW-Contact-0.47.tar.gz one dependency not OK (Crypt::SSLeay); additionally test harness failed ? ./Build test -- NOT OK Any idea how to fix it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From amead2 at alanmead.org Wed Sep 16 06:07:26 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 16 Sep 2015 08:07:26 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> Message-ID: <55F9698E.6010307@alanmead.org> On 9/16/2015 7:49 AM, richard at rushlogistics.com wrote: > Okay, an undepected outcome: > > > > # apt-get install libnet-ssleay-perl > Reading package lists... Done > Building dependency tree > Reading state information... Done > libnet-ssleay-perl is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. > > Just to make sure went ahead and tried to install my packagae again > and still got the Crypt::SSLeay failed depenency: > > > > Failed 1/15 test programs. 0/35 subtests failed. > FAYLAND/WWW-Contact-0.47.tar.gz > one dependency not OK (Crypt::SSLeay); additionally test harness failed > ./Build test -- NOT OK > > Any idea how to fix it? > You didn't install the right package. As root, try: # apt-get install libcrypt-ssleay-perl That should install the Debian maintained version of Crypt::SSLeay and when you install Debian packages they should tell you about dependencies (I guess, I don't know Debian/apt-get). -Alan -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From jtk at depaul.edu Wed Sep 16 06:14:45 2015 From: jtk at depaul.edu (John Kristoff) Date: Wed, 16 Sep 2015 13:14:45 +0000 Subject: [Chicago-talk] Module install problem In-Reply-To: <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> Message-ID: <20150916131445.GA24352@aharp.iorc.depaul.edu> On Wed, Sep 16, 2015 at 01:07:26PM +0000, Alan Mead wrote: > # apt-get install libnet-ssleay-perl > Reading package lists... Done > Building dependency tree > Reading state information... Done > libnet-ssleay-perl is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. > > Just to make sure went ahead and tried to install my packagae again and still got the Crypt::SSLeay failed depenency: If you have the package installed, why are you trying to also install it from source? It may be that when you install from source it is looking for the libaries and just can't find them, I suspect because of some sort of path related issue. John From amead2 at alanmead.org Wed Sep 16 06:15:25 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 16 Sep 2015 08:15:25 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <55F9698E.6010307@alanmead.org> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <55F9698E.6010307@alanmead.org> Message-ID: <55F96B6D.4010601@alanmead.org> On 9/16/2015 8:07 AM, Alan Mead wrote: > On 9/16/2015 7:49 AM, richard at rushlogistics.com wrote: >> Okay, an undepected outcome: >> >> >> >> # apt-get install libnet-ssleay-perl >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> *libnet-ssleay-perl is already the newest version.* >> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. >> >> Just to make sure went ahead and tried to install my packagae again >> and still got the Crypt::SSLeay failed depenency: >> >> >> >> Failed 1/15 test programs. 0/35 subtests failed. >> FAYLAND/WWW-Contact-0.47.tar.gz >> one dependency not OK (Crypt::SSLeay); additionally test harness failed >> ./Build test -- NOT OK >> >> Any idea how to fix it? >> > > You didn't install the right package. As root, try: > > # apt-get install libcrypt-ssleay-perl Sorry, I just noticed that I'm a dummy (apt-get reports that this package is installed). Is it possible that you have two Perls installed, one based on Debian packages and the other manually compiled? I'm seen servers set up this way and installing the Debian package wouldn't have the desired effect if you're using the other Perl. -Alan -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Wed Sep 16 06:40:25 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 16 Sep 2015 08:40:25 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150916131445.GA24352@aharp.iorc.depaul.edu> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> Message-ID: <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> Sorry for not being clear. Getting the failed dependency message when trying to install WWW::Contact is what lead me to to trying to install Crypt::SSLeay. Now Crypt::SSLeay seems to have been installed via apt-get howwver when I try to install WWW::Contact I still get the failed dependency error. ? # cpan i /WWW-Contact/ All 11 subtests passed t/101-gmail.t ....... skipped: set $ENV{TEST_GMAIL} and $ENV{TEST_GMAIL_PASS} to test t/102-yahoo.t ....... skipped: set $ENV{TEST_YAHOO} and $ENV{TEST_YAHOO_PASS} to test t/103-rediff.t ...... skipped: set $ENV{TEST_REDIFF} and $ENV{TEST_REDIFF_PASS} to test t/104-163.t ......... skipped: set $ENV{TEST_163} and $ENV{TEST_163_PASS} to test t/105-aol.t ......... skipped: set $ENV{TEST_AOL} and $ENV{TEST_AOL_PASS} to test t/106-mail.t ........ skipped: set $ENV{TEST_MAIL} and $ENV{TEST_MAIL_PASS} to test t/107-hotmail.t ..... skipped: set $ENV{TEST_HOTMAIL} and $ENV{TEST_HOTMAIL_PASS} to test t/108-indiatimes.t .. skipped: set $ENV{TEST_INDIATIMES} and $ENV{TEST_INDIATIMES_PASS} to test t/109-lycos.t ....... skipped: set $ENV{TEST_LYCOS} and $ENV{TEST_LYCOS_PASS} to test t/110-plaxo.t ....... skipped: set $ENV{TEST_PLAXO} and $ENV{TEST_PLAXO_PASS} to test t/999-author.t ...... skipped: author tests t/pod.t ............. ok???? Test Summary Report ------------------- t/02-supplier.t?? (Wstat: 65280 Tests: 11 Failed: 0) ? Non-zero exit status: 255 ? Parse errors: No plan found in TAP output Files=15, Tests=35,? 6 wallclock secs ( 0.06 usr? 0.04 sys +? 4.93 cusr? 0.25 csys =? 5.28 CPU) Result: FAIL Failed 1/15 test programs. 0/35 subtests failed. ? FAYLAND/WWW-Contact-0.47.tar.gz ? ./Build test -- NOT OK -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Wed Sep 16 11:26:34 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 16 Sep 2015 13:26:34 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> Message-ID: <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> Here is the complete output from the failed installin case anyone has time to help. Would GREATLY appreciate it if so. ? # cpan i /WWW-Contact/ Loading internal null logger. Install Log::Log4perl for logging messages Reading '/root/.cpan/Metadata' ? Database was generated on Tue, 15 Sep 2015 03:29:02 GMT Warning: Cannot install i, don't know what it is. Try the command ??? i /i/ to find objects with matching identifiers. Checksum for /root/.cpan/sources/authors/id/F/FA/FAYLAND/WWW-Contact-0.47.tar.gz ok tmp-22834 for tmp-22834: No such file or directory at /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. Configuring F/FA/FAYLAND/WWW-Contact-0.47.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'WWW-Contact' version '0.47' ? FAYLAND/WWW-Contact-0.47.tar.gz ? /usr/bin/perl Build.PL --installdirs site -- OK Running Build for F/FA/FAYLAND/WWW-Contact-0.47.tar.gz Building WWW-Contact ? FAYLAND/WWW-Contact-0.47.tar.gz ? ./Build -- OK Running Build test t/00-load.t ......... 1/1 # Testing WWW::Contact 0.47, Perl 5.014002, /usr/bin/perl t/00-load.t ......... ok?? t/01-basic.t ........ Class::MOP::load_class is deprecated at /home/richard/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/Class/MOP.pm line 69. ??? Class::MOP::load_class("WWW::Contact::Unknown") called at /root/.cpan/build/WWW-Contact-0.47-033JrT/blib/lib/WWW/Contact.pm line 142 ??? WWW::Contact::get_contacts(WWW::Contact=HASH(0x86c8a08), "a\@a.com", "b") called at t/01-basic.t line 15 t/01-basic.t ........ ok?? t/02-supplier.t ..... 1/? Can't call method "answer" on an undefined value at /root/.cpan/build/WWW-Contact-0.47-033JrT/blib/lib/WWW/Contact.pm line 191. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 11. t/02-supplier.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) All 11 subtests passed t/101-gmail.t ....... skipped: set $ENV{TEST_GMAIL} and $ENV{TEST_GMAIL_PASS} to test t/102-yahoo.t ....... skipped: set $ENV{TEST_YAHOO} and $ENV{TEST_YAHOO_PASS} to test t/103-rediff.t ...... skipped: set $ENV{TEST_REDIFF} and $ENV{TEST_REDIFF_PASS} to test t/104-163.t ......... skipped: set $ENV{TEST_163} and $ENV{TEST_163_PASS} to test t/105-aol.t ......... skipped: set $ENV{TEST_AOL} and $ENV{TEST_AOL_PASS} to test t/106-mail.t ........ skipped: set $ENV{TEST_MAIL} and $ENV{TEST_MAIL_PASS} to test t/107-hotmail.t ..... skipped: set $ENV{TEST_HOTMAIL} and $ENV{TEST_HOTMAIL_PASS} to test t/108-indiatimes.t .. skipped: set $ENV{TEST_INDIATIMES} and $ENV{TEST_INDIATIMES_PASS} to test t/109-lycos.t ....... skipped: set $ENV{TEST_LYCOS} and $ENV{TEST_LYCOS_PASS} to test t/110-plaxo.t ....... skipped: set $ENV{TEST_PLAXO} and $ENV{TEST_PLAXO_PASS} to test t/999-author.t ...... skipped: author tests t/pod.t ............. ok???? Test Summary Report ------------------- t/02-supplier.t?? (Wstat: 65280 Tests: 11 Failed: 0) ? Non-zero exit status: 255 ? Parse errors: No plan found in TAP output Files=15, Tests=35,? 6 wallclock secs ( 0.07 usr? 0.02 sys +? 4.88 cusr? 0.28 csys =? 5.25 CPU) Result: FAIL Failed 1/15 test programs. 0/35 subtests failed. ? FAYLAND/WWW-Contact-0.47.tar.gz ? ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: ? reports FAYLAND/WWW-Contact-0.47.tar.gz -------------- next part -------------- An HTML attachment was scrubbed... URL: From amead2 at alanmead.org Wed Sep 16 11:36:56 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 16 Sep 2015 13:36:56 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> Message-ID: <55F9B6C8.7090406@alanmead.org> On 9/16/2015 1:26 PM, richard at rushlogistics.com wrote: > > Here is the complete output from the failed installin case anyone has > time to help. Would GREATLY appreciate it if so. > > > > # cpan i /WWW-Contact/ > Loading internal null logger. Install Log::Log4perl for logging messages > Reading '/root/.cpan/Metadata' > Database was generated on Tue, 15 Sep 2015 03:29:02 GMT > Warning: Cannot install i, don't know what it is. > Try the command > > i /i/ > > to find objects with matching identifiers. > Checksum for > /root/.cpan/sources/authors/id/F/FA/FAYLAND/WWW-Contact-0.47.tar.gz ok > tmp-22834 for tmp-22834: No such file or directory at > /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. > Configuring F/FA/FAYLAND/WWW-Contact-0.47.tar.gz with Build.PL > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'WWW-Contact' version '0.47' > FAYLAND/WWW-Contact-0.47.tar.gz > /usr/bin/perl Build.PL --installdirs site -- OK > Running Build for F/FA/FAYLAND/WWW-Contact-0.47.tar.gz > Building WWW-Contact > FAYLAND/WWW-Contact-0.47.tar.gz > ./Build -- OK > Running Build test > t/00-load.t ......... 1/1 # Testing WWW::Contact 0.47, Perl 5.014002, > /usr/bin/perl > t/00-load.t ......... ok > t/01-basic.t ....... Class::MOP::load_class is deprecated at > */home/richard/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/Class/MOP.pm* > line 69. > Richard, My guess is that you have a Debian Perl installed and a separate installation of Perl in your home directory. I don't really know anything about resolving such problems... The specific version of 'cpan' that you use probably determines whether you are adding a package to your private installation or the Debian installation. -Alan -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat -------------- next part -------------- An HTML attachment was scrubbed... URL: From gatorreina at gmail.com Wed Sep 16 11:48:51 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 16 Sep 2015 13:48:51 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <55F9B6C8.7090406@alanmead.org> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> Message-ID: Yikes! No idea how I ended up with that -- or how to correct it. But thanks for letting me know. > El sept 16, 2015, a las 1:36 PM, Alan Mead escribi?: > >> On 9/16/2015 1:26 PM, richard at rushlogistics.com wrote: >> Here is the complete output from the failed installin case anyone has time to help. Would GREATLY appreciate it if so. >> >> # cpan i /WWW-Contact/ >> Loading internal null logger. Install Log::Log4perl for logging messages >> Reading '/root/.cpan/Metadata' >> Database was generated on Tue, 15 Sep 2015 03:29:02 GMT >> Warning: Cannot install i, don't know what it is. >> Try the command >> >> i /i/ >> >> to find objects with matching identifiers. >> Checksum for /root/.cpan/sources/authors/id/F/FA/FAYLAND/WWW-Contact-0.47.tar.gz ok >> tmp-22834 for tmp-22834: No such file or directory at /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. >> Configuring F/FA/FAYLAND/WWW-Contact-0.47.tar.gz with Build.PL >> Created MYMETA.yml and MYMETA.json >> Creating new 'Build' script for 'WWW-Contact' version '0.47' >> FAYLAND/WWW-Contact-0.47.tar.gz >> /usr/bin/perl Build.PL --installdirs site -- OK >> Running Build for F/FA/FAYLAND/WWW-Contact-0.47.tar.gz >> Building WWW-Contact >> FAYLAND/WWW-Contact-0.47.tar.gz >> ./Build -- OK >> Running Build test >> t/00-load.t ......... 1/1 # Testing WWW::Contact 0.47, Perl 5.014002, /usr/bin/perl >> t/00-load.t ......... ok >> t/01-basic.t ....... Class::MOP::load_class is deprecated at /home/richard/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/Class/MOP.pm line 69. > > > Richard, > > My guess is that you have a Debian Perl installed and a separate installation of Perl in your home directory. I don't really know anything about resolving such problems... The specific version of 'cpan' that you use probably determines whether you are adding a package to your private installation or the Debian installation. > > -Alan > > > > > -- > > Alan D. Mead, Ph.D. > President, Talent Algorithms Inc. > > science + technology = better workers > > +815.588.3846 (Office) > +267.334.4143 (Mobile) > > http://www.alanmead.org > > Announcing the Journal of Computerized Adaptive Testing (JCAT), a > peer-reviewed electronic journal designed to advance the science and > practice of computerized adaptive testing: http://www.iacat.org/jcat > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Fri Sep 18 22:11:52 2015 From: madcityzen at gmail.com (Doug Bell) Date: Sat, 19 Sep 2015 00:11:52 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> Message-ID: It likely looks like a local::lib directory, not necessarily a custom Perl in your $HOME. Which might mean that the the cpan client's guided setup was directed to use local::lib instead of installing to the system Perl. Using local::lib is generally recommended when using cpan, because the OS Perl and lib directories are subject to the OS's whims, and it allows using cpan when you're not root. If you need modules to be available to everyone, using cpan without local::lib works and is generally trouble-free, except when it's not and you're left with a mess to clean up (which generally only happens during an OS upgrade, and only if the OS upgrades Perl). Doug Bell madcityzen at gmail.com > On Sep 16, 2015, at 1:48 PM, Richard Reina wrote: > > Yikes! No idea how I ended up with that -- or how to correct it. But thanks for letting me know. > > > > El sept 16, 2015, a las 1:36 PM, Alan Mead > escribi?: > >> On 9/16/2015 1:26 PM, richard at rushlogistics.com wrote: >>> Here is the complete output from the failed installin case anyone has time to help. Would GREATLY appreciate it if so. >>> >>> >>> # cpan i /WWW-Contact/ >>> Loading internal null logger. Install Log::Log4perl for logging messages >>> Reading '/root/.cpan/Metadata' >>> Database was generated on Tue, 15 Sep 2015 03:29:02 GMT >>> Warning: Cannot install i, don't know what it is. >>> Try the command >>> >>> i /i/ >>> >>> to find objects with matching identifiers. >>> Checksum for /root/.cpan/sources/authors/id/F/FA/FAYLAND/WWW-Contact-0.47.tar.gz ok >>> tmp-22834 for tmp-22834: No such file or directory at /usr/local/share/perl/5.14.2/CPAN/Distribution.pm line 468. >>> Configuring F/FA/FAYLAND/WWW-Contact-0.47.tar.gz with Build.PL >>> Created MYMETA.yml and MYMETA.json >>> Creating new 'Build' script for 'WWW-Contact' version '0.47' >>> FAYLAND/WWW-Contact-0.47.tar.gz >>> /usr/bin/perl Build.PL --installdirs site -- OK >>> Running Build for F/FA/FAYLAND/WWW-Contact-0.47.tar.gz >>> Building WWW-Contact >>> FAYLAND/WWW-Contact-0.47.tar.gz >>> ./Build -- OK >>> Running Build test >>> t/00-load.t ......... 1/1 # Testing WWW::Contact 0.47, Perl 5.014002, /usr/bin/perl >>> t/00-load.t ......... ok >>> t/01-basic.t ....... Class::MOP::load_class is deprecated at /home/richard/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/Class/MOP.pm line 69. >>> >> >> >> Richard, >> >> My guess is that you have a Debian Perl installed and a separate installation of Perl in your home directory. I don't really know anything about resolving such problems... The specific version of 'cpan' that you use probably determines whether you are adding a package to your private installation or the Debian installation. >> >> -Alan >> >> >> >> >> -- >> >> Alan D. Mead, Ph.D. >> President, Talent Algorithms Inc. >> >> science + technology = better workers >> >> +815.588.3846 (Office) >> +267.334.4143 (Mobile) >> >> http://www.alanmead.org >> >> Announcing the Journal of Computerized Adaptive Testing (JCAT), a >> peer-reviewed electronic journal designed to advance the science and >> practice of computerized adaptive testing: http://www.iacat.org/jcat _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Fri Sep 18 23:19:12 2015 From: madcityzen at gmail.com (Doug Bell) Date: Sat, 19 Sep 2015 01:19:12 -0500 Subject: [Chicago-talk] Meeting - September 24 - The Perl Test Ecosystem Message-ID: <87D3B18A-7CBD-4360-92B4-D67555CB6207@gmail.com> This month, Eric Johnson (kablamo) will be giving a talk exploring the Perl testing ecosystem, including how to write tests in Perl, using prove to run tests, TAP (the Test-Anything Protocol), and an exploration of CPAN test libraries including: ? Test::More ? Test::Differences ? Test::Deep ? Test::Fatal ? Test::Warnings ? Test::Lib ? Test::Cmd ? Test::DescribeMe ? Plack::Test ? Devel::Cover ? Test::Most ? Test::Modern ? Test::Pretty Doors open at 6:45pm, presentation begins at 7:00. RSVP on the Chicago.PM Meetup page at http://www.meetup.com/ChicagoPM/events/225357015/ Doug Bell madcityzen at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Sat Sep 19 08:40:58 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Sat, 19 Sep 2015 10:40:58 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> Message-ID: <20150919104058.qwjo2g9k8og4so8w@hostingemail.xo.com> Someone on the #perl-help irc channel alerted me to a bug and I a patch so I wrote to the author. Below is the correspondence between he and I although I am not sure I follow what he means. ? 2015-09-18 21:52 GMT-05:00 Fayland Lam : I have a new version shipped. but I doubt it is still working though. I think you should use OAuth for contacts part. at least Google is not working anymore without OAuth/OpenID Thanks On Sat, Sep 19, 2015 at 10:26 AM, Richard Reina wrote: > Hi, > > I am afraid that I am not knowledgeable enough to know exactly what you > mean. Someone on the Dancer mailing list recommended your package for what I > am looking to do and I was not able to install it. I then asked for help on > he #perl-help irc channel and someone pointed out the patch. Unfortunately, > I have not yet figured out how to go about applying a patch as I have never > done it before. What is a PAUSE id? > > > 2015-09-18 20:54 GMT-05:00 Fayland Lam : >> >> Hi, if you want a co-maintainership of that module, I'll be very glad >> to grant that. what's your PAUSE account id? or can you package a new >> .tar.gz and I'll upload it. >> >> Thanks >> >> On Fri, Sep 18, 2015 at 10:51 PM, Richard Reina wrote: >> > Hello Fayland, >> > >> > Was wondering if you might be willing to apply this patch so that I >> > would be >> > able to install and use you PM.? Thanks >> > >> > >> > >> https://github.com/fayland/perl-www-contact/commit/8e903f92eccaf403f922a1462d2c94ad4f2100e6 >> > >> > >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Sat Sep 19 12:55:31 2015 From: madcityzen at gmail.com (Doug Bell) Date: Sat, 19 Sep 2015 14:55:31 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150919104058.qwjo2g9k8og4so8w@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> <20150919104058.qwjo2g9k8og4so8w@hostingemail.xo.com> Message-ID: <608A45A6-4EB6-4184-B055-200DF673CF12@gmail.com> A PAUSE ID is how one uploads modules to CPAN. PAUSE is the Perl Authors Upload Server (http://pause.perl.org ). CPAN is a network of machines all mirrored from the PAUSE upload server. Co-maint would mean that you'd be able to release WWW::Contact to CPAN; that you'd be an authorized co-maintainer. Looks like they shipped a new version which fixes the warning (it was just a warning, and probably shouldn't have been causing a failure to install), but are mentioning that it may not work still because Google may have removed the API it was using for a new, OAuth-based API. Doug Bell madcityzen at gmail.com > On Sep 19, 2015, at 10:40 AM, richard at rushlogistics.com wrote: > > Someone on the #perl-help irc channel alerted me to a bug and I a patch so I wrote to the author. Below is the correspondence between he and I although I am not sure I follow what he means. > > > > 2015-09-18 21:52 GMT-05:00 Fayland Lam >: > I have a new version shipped. but I doubt it is still working though. > I think you should use OAuth for contacts part. at least Google is not > working anymore without OAuth/OpenID > > Thanks > > On Sat, Sep 19, 2015 at 10:26 AM, Richard Reina > wrote: > > Hi, > > > > I am afraid that I am not knowledgeable enough to know exactly what you > > mean. Someone on the Dancer mailing list recommended your package for what I > > am looking to do and I was not able to install it. I then asked for help on > > he #perl-help irc channel and someone pointed out the patch. Unfortunately, > > I have not yet figured out how to go about applying a patch as I have never > > done it before. What is a PAUSE id? > > > > > > 2015-09-18 20:54 GMT-05:00 Fayland Lam >: > >> > >> Hi, if you want a co-maintainership of that module, I'll be very glad > >> to grant that. what's your PAUSE account id? or can you package a new > >> .tar.gz and I'll upload it. > >> > >> Thanks > >> > >> On Fri, Sep 18, 2015 at 10:51 PM, Richard Reina > > >> wrote: > >> > Hello Fayland, > >> > > >> > Was wondering if you might be willing to apply this patch so that I > >> > would be > >> > able to install and use you PM. Thanks > >> > > >> > > >> > https://github.com/fayland/perl-www-contact/commit/8e903f92eccaf403f922a1462d2c94ad4f2100e6 > >> > > >> > > >> > >> > >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Mon Sep 21 05:17:08 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Mon, 21 Sep 2015 07:17:08 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <608A45A6-4EB6-4184-B055-200DF673CF12@gmail.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> <20150919104058.qwjo2g9k8og4so8w@hostingemail.xo.com> <608A45A6-4EB6-4184-B055-200DF673CF12@gmail.com> Message-ID: <20150921071708.r8xc0rk9w0ckk8gk@hostingemail.xo.com> On Sat, 19 Sep 2015 14:55:31 -0500, Doug Bell wrote: Co-maint would mean that you'd be able to release WWW::Contact to CPAN; that you'd be an authorized co-maintainer.? Looks like they shipped a new version which fixes the warning (it was just a warning, and probably shouldn't have been causing a failure to install), but are mentioning that it may not work still because Google may have removed the API it was using for a new, OAuth-based API. Doug, ? Do you know if this means it's not possible for an application to gain access to a user's email contacts in order to allow the user to send out email invitations -- similar to how it is done with Linkedin and Facebook?? If so does anyone know how I might go about doing this? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Mon Sep 21 20:24:09 2015 From: madcityzen at gmail.com (Doug Bell) Date: Mon, 21 Sep 2015 22:24:09 -0500 Subject: [Chicago-talk] Module install problem In-Reply-To: <20150921071708.r8xc0rk9w0ckk8gk@hostingemail.xo.com> References: <20150915171658.a3zrhwsh0kgg80cg@hostingemail.xo.com> <55F8A11A.3080809@verizon.net> <20150916074958.6ybsahmpq8oowgow@hostingemail.xo.com> <64b0d6b542204e249c20707cea74d0a5@XCASPRD01-DFT.dpu.depaul.edu> <20150916131445.GA24352@aharp.iorc.depaul.edu> <20150916084025.mfhal0eyqswc040o@hostingemail.xo.com> <20150916132634.5wnr9m82oko4ogco@hostingemail.xo.com> <55F9B6C8.7090406@alanmead.org> <20150919104058.qwjo2g9k8og4so8w@hostingemail.xo.com> <608A45A6-4EB6-4184-B055-200DF673CF12@gmail.com> <20150921071708.r8xc0rk9w0ckk8gk@hostingemail.xo.com> Message-ID: <378DACE4-1518-4911-B166-872BF80A366E@gmail.com> > On Sep 21, 2015, at 7:17 AM, richard at rushlogistics.com wrote: > > On Sat, 19 Sep 2015 14:55:31 -0500, Doug Bell > wrote: > Co-maint would mean that you'd be able to release WWW::Contact to CPAN; that you'd be an authorized co-maintainer. > > Looks like they shipped a new version which fixes the warning (it was just a warning, and probably shouldn't have been causing a failure to install), but are mentioning that it may not work still because Google may have removed the API it was using for a new, OAuth-based API. > > Doug, > > Do you know if this means it's not possible for an application to gain access to a user's email contacts in order to allow the user to send out email invitations -- similar to how it is done with Linkedin and Facebook? If so does anyone know how I might go about doing this? No, it just might mean that the base WWW::Contact distribution may not do it specifically for Gmail. It might mean that you have to find a WWW::Contact module that does it, or you may have to write one if you specifically want to use WWW::Contact. There are likely other modules that may have other ways of accessing Google APIs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JJacobus at PonyX.com Wed Sep 23 12:52:22 2015 From: JJacobus at PonyX.com (Jim Jacobus) Date: Wed, 23 Sep 2015 14:52:22 -0500 Subject: [Chicago-talk] IO::Pty Message-ID: <20150923195234.BA34B12101C@xx1.develooper.com> I'm using ActiveState Perl V5.16.3 (64bit) on Windows 7. I just downloaded a module Net::SFTP::Foreign using the ActivePerl PPM (perl package manager). That is ok. When I tried using the module, it requires IO::Pty which isn't installed. Looked through the repository at http://ppm4.activestate.com/MSWin32-x64/5.16/1604/package.xml but IO::Pty is not there. Is there an alternate Repository where I can find IO::Pty ? Thank you. From joel.a.berger at gmail.com Wed Sep 23 14:47:12 2015 From: joel.a.berger at gmail.com (Joel Berger) Date: Wed, 23 Sep 2015 21:47:12 +0000 Subject: [Chicago-talk] IO::Pty In-Reply-To: <20150923195234.BA34B12101C@xx1.develooper.com> References: <20150923195234.BA34B12101C@xx1.develooper.com> Message-ID: I think you are out of luck there. Since there are no passes on Win32 on cpantesters, I looked at one of the NA tests and I see: http://matrix.cpantesters.org/?dist=IO-Tty+1.12 "This module requires a POSIX compliant system to work. Try cygwin if you need this module on windows OS unsupported at Makefile.PL line 6." On Wed, Sep 23, 2015 at 2:53 PM Jim Jacobus wrote: > > I'm using ActiveState Perl V5.16.3 (64bit) on Windows 7. I just > downloaded a module Net::SFTP::Foreign using the ActivePerl PPM (perl > package manager). That is ok. > When I tried using the module, it requires IO::Pty which isn't > installed. Looked through the repository at > http://ppm4.activestate.com/MSWin32-x64/5.16/1604/package.xml but > IO::Pty is not there. > Is there an alternate Repository where I can find IO::Pty ? > > Thank you. > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Wed Sep 30 11:23:57 2015 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 30 Sep 2015 13:23:57 -0500 Subject: [Chicago-talk] Interpolation problem Message-ID: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> Wondering if anyone can lend a hand here. The set of queries below work when I just plug them directly into the MySQL console.? However, when I wrap them in perl they fail with SQL errors. ?? my @rn; ?? my $q = "set @rn = 0"'; # set row number var for query below in order to be able to iterate as a hash in featadd.tt ?? $sth = $dbh->prepare($q); ?? $sth->execute(); ?? # for now in this same subroutine, let's get the sponsorships that these feats match ?? $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?"; ?? $sth = $dbh->prepare($q); ?? $sth->execute($lid); ?? my $log_ref = $sth->fetchall_hashref('RN'); I get: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0' at line 1 at test_sql.pl line 12. DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':=+1 AS RN, l.ID FROM logros l WHERE l.ID>'7'' at line 1 at test_sql.pl line 17. DBD::mysql::st fetchall_hashref failed: statement contains no result [err was 4 now 2000000000] Thanks for any help. From shawn.c.carroll at gmail.com Wed Sep 30 11:26:42 2015 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Wed, 30 Sep 2015 13:26:42 -0500 Subject: [Chicago-talk] Interpolation problem In-Reply-To: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> References: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> Message-ID: In the line $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?" Replace the double quotes (") with single quotes (') to prevent interpolation. shawn.c.carroll at gmail.com Software Engineer Soccer Referee On Wed, Sep 30, 2015 at 1:23 PM, wrote: > Wondering if anyone can lend a hand here. The set of queries below work > when I just plug them directly into the MySQL console. However, when I > wrap them in perl they fail with SQL errors. > > my @rn; > my $q = "set @rn = 0"'; # set row number var for query below in order > to be able to iterate as a hash in featadd.tt > $sth = $dbh->prepare($q); > $sth->execute(); > > # for now in this same subroutine, let's get the sponsorships that > these feats match > $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?"; > $sth = $dbh->prepare($q); > $sth->execute($lid); > my $log_ref = $sth->fetchall_hashref('RN'); > > I get: > > DBD::mysql::st execute failed: You have an error in your SQL syntax; check > the manual that corresponds to your MySQL server version for the right > syntax to use near '= 0' at line 1 at test_sql.pl line 12. > DBD::mysql::st execute failed: You have an error in your SQL syntax; check > the manual that corresponds to your MySQL server version for the right > syntax to use near ':=+1 AS RN, l.ID FROM logros l WHERE l.ID>'7'' at line > 1 at test_sql.pl line 17. > DBD::mysql::st fetchall_hashref failed: statement contains no result [err > was 4 now 2000000000] > > Thanks for any help. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From cromedome at gmail.com Wed Sep 30 11:29:35 2015 From: cromedome at gmail.com (Jason A. Crome) Date: Wed, 30 Sep 2015 13:29:35 -0500 Subject: [Chicago-talk] Interpolation problem In-Reply-To: References: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> Message-ID: <4064C305-A142-4911-A9B7-65D2B87D024A@gmail.com> Shawn?s answer is best. You can put a \ before @rn to prevent interpolation as well. His way is cleaner though. Jason A. Crome / CromeDome AIM: TheOneCromeDome Twitter: http://www.twitter.com/cromedome Blog: http://crome-plated.tumblr.com/ CPAN: http://search.cpan.org/~cromedome/ github: http://github.com/cromedome Bitbucket: https://bitbucket.org/cromedome/ > On Sep 30, 2015, at 1:26 PM, Shawn Carroll wrote: > > In the line > > $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?" > > Replace the double quotes (") with single quotes (') to prevent interpolation. > > > shawn.c.carroll at gmail.com > Software Engineer > Soccer Referee > > On Wed, Sep 30, 2015 at 1:23 PM, wrote: > Wondering if anyone can lend a hand here. The set of queries below work when I just plug them directly into the MySQL console. However, when I wrap them in perl they fail with SQL errors. > > my @rn; > my $q = "set @rn = 0"'; # set row number var for query below in order to be able to iterate as a hash in featadd.tt > $sth = $dbh->prepare($q); > $sth->execute(); > > # for now in this same subroutine, let's get the sponsorships that these feats match > $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?"; > $sth = $dbh->prepare($q); > $sth->execute($lid); > my $log_ref = $sth->fetchall_hashref('RN'); > > I get: > > DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0' at line 1 at test_sql.pl line 12. > DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':=+1 AS RN, l.ID FROM logros l WHERE l.ID>'7'' at line 1 at test_sql.pl line 17. > DBD::mysql::st fetchall_hashref failed: statement contains no result [err was 4 now 2000000000] > > Thanks for any help. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From amead2 at alanmead.org Wed Sep 30 11:41:35 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 30 Sep 2015 13:41:35 -0500 Subject: [Chicago-talk] Interpolation problem In-Reply-To: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> References: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> Message-ID: <560C2CDF.1000009@alanmead.org> On 9/30/2015 1:23 PM, richard at rushlogistics.com wrote: > Wondering if anyone can lend a hand here. The set of queries below work when I just plug them directly into the MySQL console. However, when I wrap them in perl they fail with SQL errors. > > my @rn; > my $q = "set @rn = 0"'; # set row number var for query below in order to be able to iterate as a hash in featadd.tt Following on, the line above also needs single quotes or escaping and I don't understand why there's a stray single quote between the closing double-quote and the semi-colon; looks like a Perl syntax error to me. Also, you don't need to create a Perl list @rn to use an SQL variable. You probably added it to make the Perl run (because without it, the interpolation on the next line would cause a Perl syntax error). -Alan -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat From gatorreina at gmail.com Wed Sep 30 12:22:47 2015 From: gatorreina at gmail.com (Richard Reina) Date: Wed, 30 Sep 2015 14:22:47 -0500 Subject: [Chicago-talk] Interpolation problem In-Reply-To: <4064C305-A142-4911-A9B7-65D2B87D024A@gmail.com> References: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> <4064C305-A142-4911-A9B7-65D2B87D024A@gmail.com> Message-ID: <89C26EC2-31E0-44A4-B03C-478DAC4CCE66@gmail.com> I was under the impression that single quotes would prevent the placeholders (?) from interpolating. Will give it a try. > El 30 sept 2015, a las 1:29 PM, Jason A. Crome escribi?: > > Shawn?s answer is best. You can put a \ before @rn to prevent interpolation as well. His way is cleaner though. > > Jason A. Crome / CromeDome > > AIM: TheOneCromeDome > Twitter: http://www.twitter.com/cromedome > Blog: http://crome-plated.tumblr.com/ > CPAN: http://search.cpan.org/~cromedome/ > github: http://github.com/cromedome > Bitbucket: https://bitbucket.org/cromedome/ > >> On Sep 30, 2015, at 1:26 PM, Shawn Carroll wrote: >> >> In the line >> >> $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?" >> >> Replace the double quotes (") with single quotes (') to prevent interpolation. >> >> >> shawn.c.carroll at gmail.com >> Software Engineer >> Soccer Referee >> >> On Wed, Sep 30, 2015 at 1:23 PM, wrote: >> Wondering if anyone can lend a hand here. The set of queries below work when I just plug them directly into the MySQL console. However, when I wrap them in perl they fail with SQL errors. >> >> my @rn; >> my $q = "set @rn = 0"'; # set row number var for query below in order to be able to iterate as a hash in featadd.tt >> $sth = $dbh->prepare($q); >> $sth->execute(); >> >> # for now in this same subroutine, let's get the sponsorships that these feats match >> $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?"; >> $sth = $dbh->prepare($q); >> $sth->execute($lid); >> my $log_ref = $sth->fetchall_hashref('RN'); >> >> I get: >> >> DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0' at line 1 at test_sql.pl line 12. >> DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':=+1 AS RN, l.ID FROM logros l WHERE l.ID>'7'' at line 1 at test_sql.pl line 17. >> DBD::mysql::st fetchall_hashref failed: statement contains no result [err was 4 now 2000000000] >> >> Thanks for any help. >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From amead2 at alanmead.org Wed Sep 30 13:02:51 2015 From: amead2 at alanmead.org (Alan Mead) Date: Wed, 30 Sep 2015 15:02:51 -0500 Subject: [Chicago-talk] Interpolation problem In-Reply-To: <89C26EC2-31E0-44A4-B03C-478DAC4CCE66@gmail.com> References: <20150930132357.y3foaemkg4g8cgog@hostingemail.xo.com> <4064C305-A142-4911-A9B7-65D2B87D024A@gmail.com> <89C26EC2-31E0-44A4-B03C-478DAC4CCE66@gmail.com> Message-ID: <560C3FEB.1060302@alanmead.org> The placeholders are interpolated when you execute the SQL statement ($sth->execute($lid); replaces the placeholder with the value in $lid). You want to use single quotes when an SQL string contains a sigil that would cause Perl to assume it's a Perl variable: my $q = "set @rn = 0"; should be one of these: my $q = 'set @rn = 0'; my $q = q/set @rn = 0/; my $q = "set \@rn = 0"; or else Perl think you are trying to interpolate the list @rn into the SQL string. The same thing occurs with dollar-signs: print "$foo\n" # prints value of $foo and a newline print '$foo', "\n" # prints the literal string '$foo' and a newline The reason to use placeholders (as I understand it) is (a) to increase the efficiency of statements that you may prepare once and use repeatedly and (b) to make SQL injection attacks harder because the placeholders are always quoted. -Alan On 9/30/2015 2:22 PM, Richard Reina wrote: > I was under the impression that single quotes would prevent the placeholders (?) from interpolating. Will give it a try. > > > >> El 30 sept 2015, a las 1:29 PM, Jason A. Crome escribi?: >> >> Shawn?s answer is best. You can put a \ before @rn to prevent interpolation as well. His way is cleaner though. >> >> Jason A. Crome / CromeDome >> >> AIM: TheOneCromeDome >> Twitter: http://www.twitter.com/cromedome >> Blog: http://crome-plated.tumblr.com/ >> CPAN: http://search.cpan.org/~cromedome/ >> github: http://github.com/cromedome >> Bitbucket: https://bitbucket.org/cromedome/ >> >>> On Sep 30, 2015, at 1:26 PM, Shawn Carroll wrote: >>> >>> In the line >>> >>> $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?" >>> >>> Replace the double quotes (") with single quotes (') to prevent interpolation. >>> >>> >>> shawn.c.carroll at gmail.com >>> Software Engineer >>> Soccer Referee >>> >>> On Wed, Sep 30, 2015 at 1:23 PM, wrote: >>> Wondering if anyone can lend a hand here. The set of queries below work when I just plug them directly into the MySQL console. However, when I wrap them in perl they fail with SQL errors. >>> >>> my @rn; >>> my $q = "set @rn = 0"'; # set row number var for query below in order to be able to iterate as a hash in featadd.tt >>> $sth = $dbh->prepare($q); >>> $sth->execute(); >>> >>> # for now in this same subroutine, let's get the sponsorships that these feats match >>> $q = "SELECT @rn:=@rn+1 AS RN, l.ID FROM logros l WHERE l.ID>?"; >>> $sth = $dbh->prepare($q); >>> $sth->execute($lid); >>> my $log_ref = $sth->fetchall_hashref('RN'); >>> >>> I get: >>> >>> DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0' at line 1 at test_sql.pl line 12. >>> DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':=+1 AS RN, l.ID FROM logros l WHERE l.ID>'7'' at line 1 at test_sql.pl line 17. >>> DBD::mysql::st fetchall_hashref failed: statement contains no result [err was 4 now 2000000000] >>> >>> Thanks for any help. >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat