From gwadej at anomaly.org Sun Aug 10 20:53:05 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 10 Aug 2014 22:53:05 -0500 Subject: [pm-h] NeilB commentary on CPAN Message-ID: <20140810225305.06046485@cygnus> http://neilb.org/2014/08/10/prepared-to-put-up-with.html Makes you think about a central part of the Perl ecosystem. G. Wade -- The closer you get to the truth, the messier your sentence gets. -- Paul Graham From mikeflan at att.net Mon Aug 11 03:53:31 2014 From: mikeflan at att.net (Mike Flannigan) Date: Mon, 11 Aug 2014 05:53:31 -0500 Subject: [pm-h] NeilB commentary on CPAN In-Reply-To: <20140810225305.06046485@cygnus> References: <20140810225305.06046485@cygnus> Message-ID: <53E8A0AB.7040607@att.net> Yeah, I just read that. I use Active Perl, so I get a reduced, refined set of modules to pick from. I rarely run into modules where I can prove they don't work - almost never. Many more times I run into the situation where I can't easily get a module I think I need, but that doesn't happen a whole lot either. I wonder who weeds out bad modules? Surely that happens. Mike On 8/10/2014 10:53 PM, G. Wade Johnson via Houston wrote: > http://neilb.org/2014/08/10/prepared-to-put-up-with.html > > Makes you think about a central part of the Perl ecosystem. > > G. Wade From mrdvt92 at yahoo.com Mon Aug 11 03:45:53 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 11 Aug 2014 03:45:53 -0700 Subject: [pm-h] NeilB commentary on CPAN In-Reply-To: <20140810225305.06046485@cygnus> References: <20140810225305.06046485@cygnus> Message-ID: <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> > http://neilb.org/2014/08/10/prepared-to-put-up-with.html > Makes you think about a central part of the Perl ecosystem. G. Wade, I think if CPAN had a few features then it would be better.? ? 1)?I use this?distribution please keep it updated. 2) Don't use this distribution use this newer, bigger, better package instead. ? So, the packages with the most "use" could be filtered from the rest more easily. ? Frankly, I've uploaded some packages and have no idea whatsoever if anyone is using them.? So, do they need to stay up on CPAN even though I no longer use them? ? Thanks, Mike??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Mon Aug 11 03:45:53 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 11 Aug 2014 03:45:53 -0700 Subject: [pm-h] NeilB commentary on CPAN In-Reply-To: <20140810225305.06046485@cygnus> References: <20140810225305.06046485@cygnus> Message-ID: <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> > http://neilb.org/2014/08/10/prepared-to-put-up-with.html > Makes you think about a central part of the Perl ecosystem. G. Wade, I think if CPAN had a few features then it would be better.? ? 1)?I use this?distribution please keep it updated. 2) Don't use this distribution use this newer, bigger, better package instead. ? So, the packages with the most "use" could be filtered from the rest more easily. ? Frankly, I've uploaded some packages and have no idea whatsoever if anyone is using them.? So, do they need to stay up on CPAN even though I no longer use them? ? Thanks, Mike??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Mon Aug 11 05:53:36 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 11 Aug 2014 07:53:36 -0500 Subject: [pm-h] NeilB commentary on CPAN In-Reply-To: <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> References: <20140810225305.06046485@cygnus> <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> Message-ID: <20140811075336.138aec81@cygnus> On Mon, 11 Aug 2014 03:45:53 -0700 "Michael R. Davis" wrote: > > http://neilb.org/2014/08/10/prepared-to-put-up-with.html > > Makes you think about a central part of the Perl ecosystem. > > G. Wade, > I think if CPAN had a few features then it would be better.? Hi Mike, One of the great things about CPAN is that it is maintained by the community. (That can also be one of it's downsides.) The code for metacpan.org is on github as projects under https://github.com/CPAN-API This allows individuals or groups with an idea to contribute and improve the interface. > 1)?I use this?distribution please keep it updated. I have used a cron job in the past to try to do this. I eventually gave up on the idea thanks to one too many breaking change in a module. > 2) Don't use this distribution use this newer, bigger, better package > instead. That's a really good idea to be able to add to metadata about a module. This would allow an author to easily let people know if they want the module to be replaced. Unlike the previous search.cpan.org, metacpan.org supplies a RESTful API that you can use to query CPAN for information you need for your environment. > So, the packages with the most "use" could be filtered from the rest > more easily. I've seen a fair amount of talk about this over the years. > Frankly, I've uploaded some packages and have no idea whatsoever if > anyone is using them.? So, do they need to stay up on CPAN even > though I no longer use them? Thanks, Modules uploaded to CPAN stay there until the author removes them. I've been surprised a time or two when I see that someone is using a module that I wrote and had basically forgotten. I guess the short version is that you could either make changes to MetaCPAN yourself, get a group together to look at it, or at least post a suggestion on the relevant MetaCPAN project. It's definitely possible to extend MetaCPAN to do more. G. Wade -- Virtual is when it's not but it looks like it is and transparent is when it is but it looks like it isn't. -- Rick Hoselton From gwadej at anomaly.org Mon Aug 11 06:15:34 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 11 Aug 2014 08:15:34 -0500 Subject: [pm-h] Write-up for brian's workshop now on-line Message-ID: <20140811081534.330fe2be@cygnus> I've posted the write-up and brian's slides to the Houston.pm website. http://houston.pm.org/talks/2014talks/140731Talk/index.html Enjoy! G. Wade -- Strange women lying in ponds distributing swords is no basis for a system of government. From uri at stemsystems.com Mon Aug 11 07:26:18 2014 From: uri at stemsystems.com (Uri Guttman) Date: Mon, 11 Aug 2014 10:26:18 -0400 Subject: [pm-h] NeilB commentary on CPAN In-Reply-To: <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> References: <20140810225305.06046485@cygnus> <1407753953.26079.YahooMailNeo@web121001.mail.ne1.yahoo.com> Message-ID: <53E8D28A.3060207@stemsystems.com> On 08/11/2014 06:45 AM, Michael R. Davis via Houston wrote: >>http://neilb.org/2014/08/10/prepared-to-put-up-with.html >> Makes you think about a central part of the Perl ecosystem. > G. Wade, > I think if CPAN had a few features then it would be better. > 1) I use this distribution please keep it updated. > 2) Don't use this distribution use this newer, bigger, better package > instead. > So, the packages with the most "use" could be filtered from the rest > more easily. that does exist on metacpan. look for the reverse dependencies link on a module page. that shows what other modules and distributions are depenedent on this module. it won't show end user programs which use the module (without scanning all those private disks :) but it does tell you something about popularity. but popularity doesn't always equate to quality (look at any major fast food chain) so keep that in mind. uri -- Uri Guttman - The Perl Hunter The Best Perl Jobs, The Best Perl Hackers http://PerlHunter.com From gwadej at anomaly.org Tue Aug 12 06:30:16 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 12 Aug 2014 08:30:16 -0500 Subject: [pm-h] brian d foy article on modulinos Message-ID: <20140812083016.2347f0be@cygnus> If you haven't run across modulinos in Perl, this is a good introduction: http://perltricks.com/article/107/2014/8/7/Rescue-legacy-code-with-modulinos The basic idea is to change a Perl script into something that can be run as a script or loaded as a module. Once you can load the code as a module, unit testing becomes much easier. G. Wade -- "No Boom today. Boom tomorrow, There's always a boom tomorrow." -- Ivanova, "Grail" From estrabd at gmail.com Thu Aug 14 04:41:55 2014 From: estrabd at gmail.com (B. Estrade) Date: Thu, 14 Aug 2014 06:41:55 -0500 Subject: [pm-h] brian d foy article on modulinos In-Reply-To: <20140812083016.2347f0be@cygnus> References: <20140812083016.2347f0be@cygnus> Message-ID: ++moduilinos Brett On Tue, Aug 12, 2014 at 8:30 AM, G. Wade Johnson via Houston wrote: > If you haven't run across modulinos in Perl, this is a good > introduction: > > http://perltricks.com/article/107/2014/8/7/Rescue-legacy-code-with-modulinos > > The basic idea is to change a Perl script into something that can be > run as a script or loaded as a module. Once you can load the code as a > module, unit testing becomes much easier. > > G. Wade > -- > "No Boom today. Boom tomorrow, There's always a boom tomorrow." > -- Ivanova, "Grail" > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From wiersema_t at yahoo.com Thu Aug 14 15:56:20 2014 From: wiersema_t at yahoo.com (Todd Wiersema) Date: Thu, 14 Aug 2014 15:56:20 -0700 Subject: [pm-h] Houston Digest, Vol 117, Issue 4 In-Reply-To: Message-ID: <1408056980.8516.YahooMailBasic@web164006.mail.gq1.yahoo.com> Will the meeting be available for online participation? If so, where can I find a link? Todd -------------------------------------------- On Thu, 8/14/14, houston-request at pm.org wrote: Subject: Houston Digest, Vol 117, Issue 4 To: houston at pm.org Date: Thursday, August 14, 2014, 2:00 PM Send Houston mailing list submissions to ??? houston at pm.org To subscribe or unsubscribe via the World Wide Web, visit ??? http://mail.pm.org/mailman/listinfo/houston or, via email, send a message with subject or body 'help' to ??? houston-request at pm.org You can reach the person managing the list at ??? houston-owner at pm.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Houston digest..." Today's Topics: ???1. Re: brian d foy article on modulinos (B. Estrade) ---------------------------------------------------------------------- Message: 1 Date: Thu, 14 Aug 2014 06:41:55 -0500 From: "B. Estrade" To: "G. Wade Johnson" , ??? "Houston.pm located in ??? Houston, TX." Subject: Re: [pm-h] brian d foy article on modulinos Message-ID: ??? Content-Type: text/plain; charset=UTF-8 ++moduilinos Brett On Tue, Aug 12, 2014 at 8:30 AM, G. Wade Johnson via Houston wrote: > If you haven't run across modulinos in Perl, this is a good > introduction: > > http://perltricks.com/article/107/2014/8/7/Rescue-legacy-code-with-modulinos > > The basic idea is to change a Perl script into something that can be > run as a script or loaded as a module. Once you can load the code as a > module, unit testing becomes much easier. > > G. Wade > -- > "No Boom today. Boom tomorrow, There's always a boom tomorrow." >? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Ivanova, "Grail" > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ ------------------------------ Subject: Digest Footer _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ ------------------------------ End of Houston Digest, Vol 117, Issue 4 *************************************** From mrdvt92 at yahoo.com Mon Aug 18 13:03:46 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 18 Aug 2014 13:03:46 -0700 Subject: [pm-h] Perl rename bug? Message-ID: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> Perl Mongers, Is this a bug in rename?? I googled but did not find anything off the top. ? $ perl -e 'my @files=("x", "y"); rename(@files);' Not enough arguments for rename at -e line 1, near "@files)" Execution of -e aborted due to compilation errors. ? But this works fine. ? $ perl -e 'my @files=("x", "y"); rename($files[0], $files[1]);' ? Mike ? mrdvt92 ? $ perl -v This is perl, v5.10.0 built for x86_64-linux-thread-multi Copyright 1987-2007, Larry Wall -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Mon Aug 18 13:30:39 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 18 Aug 2014 15:30:39 -0500 Subject: [pm-h] Perl rename bug? In-Reply-To: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> References: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> Message-ID: <20140818153039.174eb4a2@cygnus> On Mon, 18 Aug 2014 13:03:46 -0700 "Michael R. Davis via Houston" wrote: > Perl Mongers, > Is this a bug in rename?? I googled but did not find anything off the > top. > $ perl -e 'my @files=("x", "y"); rename(@files);' > Not enough arguments for rename at -e line 1, near "@files)" > Execution of -e aborted due to compilation errors. It looks like rename has a prototype which makes it require two scalars. Looking at the documentation for rename, it does not support a list as a parameter, it only supports two names. G. Wade > ? > But this works fine. > ? > $ perl -e 'my @files=("x", "y"); rename($files[0], $files[1]);' > ? > Mike > ? > mrdvt92 > ? > $ perl -v > This is perl, v5.10.0 built for x86_64-linux-thread-multi > Copyright 1987-2007, Larry Wall > -- Perl isn't really about safety. It's about getting where you're going, and enjoying the trip. It's more important to be a good driver than to have seven feet of sponge rubber all around your car. -- Larry Wall From perl at saltbreez.com Mon Aug 18 13:41:04 2014 From: perl at saltbreez.com (Perl Developer) Date: Mon, 18 Aug 2014 16:41:04 -0400 Subject: [pm-h] Perl rename bug? In-Reply-To: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> References: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> Message-ID: Michael, I see why you might consider this a bug, but I do not believe that it is. Further, I do not believe this is a prototype issue Consider, bash-4.2$ perl -MO=Terse -e 'my @files=("x", "y"); rename(@files);' Not enough arguments for rename at -e line 1, near "@files)" -e had compilation errors. LISTOP (0x20b8128) leave [1] OP (0x20b7fc8) enter COP (0x20b8170) nextstate BINOP (0x20b81d0) aassign [2] UNOP (0x20b5430) null [147] OP (0x20b53f8) pushmark SVOP (0x20b54b8) const PV (0x20b6188) "x" SVOP (0x20b5478) const PV (0x20b60f8) "y" UNOP (0x20b53b0) null [147] OP (0x20b5360) padrange [1] OP (0x20b54f8) padav [1] COP (0x20b8010) nextstate LISTOP (0x20b80a8) rename [3] OP (0x20b8070) null [3] OP (0x20b80f0) padav [1] bash-4.2$ perl -MO=Terse -e 'my @files=("x", "y"); rename($files[0], $files[1]);' LISTOP (0x20b9138) leave [1] OP (0x20b8e90) enter COP (0x20b9180) nextstate BINOP (0x20b91e0) aassign [2] UNOP (0x20b6440) null [147] OP (0x20b6408) pushmark SVOP (0x20b64c8) const PV (0x20b7198) "x" SVOP (0x20b6488) const PV (0x20b7108) "y" UNOP (0x20b63c0) null [147] OP (0x20b6370) padrange [1] OP (0x20b6508) padav [1] COP (0x20b8ed8) nextstate LISTOP (0x20b8f70) rename [3] OP (0x20b8f38) null [3] UNOP (0x20b9078) null [130] OP (0x20b9100) aelemfast_lex [1] OP (0x20b90c0) null [5] UNOP (0x20b8fb8) null [130] OP (0x20b9040) aelemfast_lex [1] OP (0x20b9000) null [5] -e syntax OK Or even: bash-4.2$ perl -MO=Terse -e 'my @files=("x", "y"); rename(@files,undef);' LISTOP (0x93b138) leave [1] OP (0x93afa0) enter COP (0x93b180) nextstate BINOP (0x93b1e0) aassign [2] UNOP (0x938440) null [147] OP (0x938408) pushmark SVOP (0x9384c8) const PV (0x939198) "x" SVOP (0x938488) const PV (0x939108) "y" UNOP (0x9383c0) null [147] OP (0x938370) padrange [1] OP (0x938508) padav [1] COP (0x93afe8) nextstate LISTOP (0x93b080) rename [3] OP (0x93b048) null [3] OP (0x93b100) padav [1] OP (0x93b0c8) undef -e syntax OK Perl sees @files as a container, rename is looking for 2 arguments, whatever they may be. (I doubt my last example will do what you want it to do...) On Mon, Aug 18, 2014 at 4:03 PM, Michael R. Davis via Houston wrote: > Perl Mongers, > Is this a bug in rename? I googled but did not find anything off the top. > > $ perl -e 'my @files=("x", "y"); rename(@files);' > Not enough arguments for rename at -e line 1, near "@files)" > Execution of -e aborted due to compilation errors. > > But this works fine. > > $ perl -e 'my @files=("x", "y"); rename($files[0], $files[1]);' > > Mike > > mrdvt92 > > $ perl -v > This is perl, v5.10.0 built for x86_64-linux-thread-multi > Copyright 1987-2007, Larry Wall > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Best Regards, [Joseph] Christian Werner Sr C 360.920.7183 H 757.304.0502 From damonhastings at yahoo.com Mon Aug 18 13:56:40 2014 From: damonhastings at yahoo.com (Damon Hastings) Date: Mon, 18 Aug 2014 13:56:40 -0700 Subject: [pm-h] Perl rename bug? In-Reply-To: References: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> Message-ID: <1408395400.74656.YahooMailNeo@web181306.mail.ne1.yahoo.com> I'm guessing they did this as a safety feature; accepting a single container parameter could be bug-prone.? Many other perl functions have similar safeguards (I assume implemented via prototypes.) On Monday, August 18, 2014 3:41 PM, Perl Developer via Houston wrote: > > >Michael, > >I see why you might consider this a bug, but I do not believe that it >is.? Further, I do not believe this is a prototype issue? Consider, > > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename(@files);' >Not enough arguments for rename at -e line 1, near "@files)" >-e had compilation errors. >LISTOP (0x20b8128) leave [1] >? ? OP (0x20b7fc8) enter >? ? COP (0x20b8170) nextstate >? ? BINOP (0x20b81d0) aassign [2] >? ? ? ? UNOP (0x20b5430) null [147] >? ? ? ? ? ? OP (0x20b53f8) pushmark >? ? ? ? ? ? SVOP (0x20b54b8) const? PV (0x20b6188) "x" >? ? ? ? ? ? SVOP (0x20b5478) const? PV (0x20b60f8) "y" >? ? ? ? UNOP (0x20b53b0) null [147] >? ? ? ? ? ? OP (0x20b5360) padrange [1] >? ? ? ? ? ? OP (0x20b54f8) padav [1] >? ? COP (0x20b8010) nextstate >? ? LISTOP (0x20b80a8) rename [3] >? ? ? ? OP (0x20b8070) null [3] >? ? ? ? OP (0x20b80f0) padav [1] > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename($files[0], >$files[1]);' >LISTOP (0x20b9138) leave [1] >? ? OP (0x20b8e90) enter >? ? COP (0x20b9180) nextstate >? ? BINOP (0x20b91e0) aassign [2] >? ? ? ? UNOP (0x20b6440) null [147] >? ? ? ? ? ? OP (0x20b6408) pushmark >? ? ? ? ? ? SVOP (0x20b64c8) const? PV (0x20b7198) "x" >? ? ? ? ? ? SVOP (0x20b6488) const? PV (0x20b7108) "y" >? ? ? ? UNOP (0x20b63c0) null [147] >? ? ? ? ? ? OP (0x20b6370) padrange [1] >? ? ? ? ? ? OP (0x20b6508) padav [1] >? ? COP (0x20b8ed8) nextstate >? ? LISTOP (0x20b8f70) rename [3] >? ? ? ? OP (0x20b8f38) null [3] >? ? ? ? UNOP (0x20b9078) null [130] >? ? ? ? ? ? OP (0x20b9100) aelemfast_lex [1] >? ? ? ? ? ? OP (0x20b90c0) null [5] >? ? ? ? UNOP (0x20b8fb8) null [130] >? ? ? ? ? ? OP (0x20b9040) aelemfast_lex [1] >? ? ? ? ? ? OP (0x20b9000) null [5] >-e syntax OK > >Or even: > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename(@files,undef);' >LISTOP (0x93b138) leave [1] >? ? OP (0x93afa0) enter >? ? COP (0x93b180) nextstate >? ? BINOP (0x93b1e0) aassign [2] >? ? ? ? UNOP (0x938440) null [147] >? ? ? ? ? ? OP (0x938408) pushmark >? ? ? ? ? ? SVOP (0x9384c8) const? PV (0x939198) "x" >? ? ? ? ? ? SVOP (0x938488) const? PV (0x939108) "y" >? ? ? ? UNOP (0x9383c0) null [147] >? ? ? ? ? ? OP (0x938370) padrange [1] >? ? ? ? ? ? OP (0x938508) padav [1] >? ? COP (0x93afe8) nextstate >? ? LISTOP (0x93b080) rename [3] >? ? ? ? OP (0x93b048) null [3] >? ? ? ? OP (0x93b100) padav [1] >? ? ? ? OP (0x93b0c8) undef >-e syntax OK > >Perl sees @files as a container,? rename is looking for 2 arguments, >whatever they may be. > > >(I doubt my last example will do what you want it to do...) > >On Mon, Aug 18, 2014 at 4:03 PM, Michael R. Davis via Houston > wrote: >> Perl Mongers, >> Is this a bug in rename?? I googled but did not find anything off the top. >> >> $ perl -e 'my @files=("x", "y"); rename(@files);' >> Not enough arguments for rename at -e line 1, near "@files)" >> Execution of -e aborted due to compilation errors. >> >> But this works fine. >> >> $ perl -e 'my @files=("x", "y"); rename($files[0], $files[1]);' >> >> Mike >> >> mrdvt92 >> >> $ perl -v >> This is perl, v5.10.0 built for x86_64-linux-thread-multi >> Copyright 1987-2007, Larry Wall >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > > > >-- >Best Regards, >[Joseph] Christian Werner Sr >C 360.920.7183 >H 757.304.0502 > >_______________________________________________ >Houston mailing list >Houston at pm.org >http://mail.pm.org/mailman/listinfo/houston >Website: http://houston.pm.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From damonhastings at yahoo.com Mon Aug 18 13:56:40 2014 From: damonhastings at yahoo.com (Damon Hastings) Date: Mon, 18 Aug 2014 13:56:40 -0700 Subject: [pm-h] Perl rename bug? In-Reply-To: References: <1408392226.43012.YahooMailNeo@web121002.mail.ne1.yahoo.com> Message-ID: <1408395400.74656.YahooMailNeo@web181306.mail.ne1.yahoo.com> I'm guessing they did this as a safety feature; accepting a single container parameter could be bug-prone.? Many other perl functions have similar safeguards (I assume implemented via prototypes.) On Monday, August 18, 2014 3:41 PM, Perl Developer via Houston wrote: > > >Michael, > >I see why you might consider this a bug, but I do not believe that it >is.? Further, I do not believe this is a prototype issue? Consider, > > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename(@files);' >Not enough arguments for rename at -e line 1, near "@files)" >-e had compilation errors. >LISTOP (0x20b8128) leave [1] >? ? OP (0x20b7fc8) enter >? ? COP (0x20b8170) nextstate >? ? BINOP (0x20b81d0) aassign [2] >? ? ? ? UNOP (0x20b5430) null [147] >? ? ? ? ? ? OP (0x20b53f8) pushmark >? ? ? ? ? ? SVOP (0x20b54b8) const? PV (0x20b6188) "x" >? ? ? ? ? ? SVOP (0x20b5478) const? PV (0x20b60f8) "y" >? ? ? ? UNOP (0x20b53b0) null [147] >? ? ? ? ? ? OP (0x20b5360) padrange [1] >? ? ? ? ? ? OP (0x20b54f8) padav [1] >? ? COP (0x20b8010) nextstate >? ? LISTOP (0x20b80a8) rename [3] >? ? ? ? OP (0x20b8070) null [3] >? ? ? ? OP (0x20b80f0) padav [1] > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename($files[0], >$files[1]);' >LISTOP (0x20b9138) leave [1] >? ? OP (0x20b8e90) enter >? ? COP (0x20b9180) nextstate >? ? BINOP (0x20b91e0) aassign [2] >? ? ? ? UNOP (0x20b6440) null [147] >? ? ? ? ? ? OP (0x20b6408) pushmark >? ? ? ? ? ? SVOP (0x20b64c8) const? PV (0x20b7198) "x" >? ? ? ? ? ? SVOP (0x20b6488) const? PV (0x20b7108) "y" >? ? ? ? UNOP (0x20b63c0) null [147] >? ? ? ? ? ? OP (0x20b6370) padrange [1] >? ? ? ? ? ? OP (0x20b6508) padav [1] >? ? COP (0x20b8ed8) nextstate >? ? LISTOP (0x20b8f70) rename [3] >? ? ? ? OP (0x20b8f38) null [3] >? ? ? ? UNOP (0x20b9078) null [130] >? ? ? ? ? ? OP (0x20b9100) aelemfast_lex [1] >? ? ? ? ? ? OP (0x20b90c0) null [5] >? ? ? ? UNOP (0x20b8fb8) null [130] >? ? ? ? ? ? OP (0x20b9040) aelemfast_lex [1] >? ? ? ? ? ? OP (0x20b9000) null [5] >-e syntax OK > >Or even: > >bash-4.2$? perl -MO=Terse -e 'my @files=("x", "y"); rename(@files,undef);' >LISTOP (0x93b138) leave [1] >? ? OP (0x93afa0) enter >? ? COP (0x93b180) nextstate >? ? BINOP (0x93b1e0) aassign [2] >? ? ? ? UNOP (0x938440) null [147] >? ? ? ? ? ? OP (0x938408) pushmark >? ? ? ? ? ? SVOP (0x9384c8) const? PV (0x939198) "x" >? ? ? ? ? ? SVOP (0x938488) const? PV (0x939108) "y" >? ? ? ? UNOP (0x9383c0) null [147] >? ? ? ? ? ? OP (0x938370) padrange [1] >? ? ? ? ? ? OP (0x938508) padav [1] >? ? COP (0x93afe8) nextstate >? ? LISTOP (0x93b080) rename [3] >? ? ? ? OP (0x93b048) null [3] >? ? ? ? OP (0x93b100) padav [1] >? ? ? ? OP (0x93b0c8) undef >-e syntax OK > >Perl sees @files as a container,? rename is looking for 2 arguments, >whatever they may be. > > >(I doubt my last example will do what you want it to do...) > >On Mon, Aug 18, 2014 at 4:03 PM, Michael R. Davis via Houston > wrote: >> Perl Mongers, >> Is this a bug in rename?? I googled but did not find anything off the top. >> >> $ perl -e 'my @files=("x", "y"); rename(@files);' >> Not enough arguments for rename at -e line 1, near "@files)" >> Execution of -e aborted due to compilation errors. >> >> But this works fine. >> >> $ perl -e 'my @files=("x", "y"); rename($files[0], $files[1]);' >> >> Mike >> >> mrdvt92 >> >> $ perl -v >> This is perl, v5.10.0 built for x86_64-linux-thread-multi >> Copyright 1987-2007, Larry Wall >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > > > >-- >Best Regards, >[Joseph] Christian Werner Sr >C 360.920.7183 >H 757.304.0502 > >_______________________________________________ >Houston mailing list >Houston at pm.org >http://mail.pm.org/mailman/listinfo/houston >Website: http://houston.pm.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Aug 21 18:10:16 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 21 Aug 2014 20:10:16 -0500 Subject: [pm-h] September Call for Presentations Message-ID: <20140821201016.6c70bc62@cygnus> Hi all, It's that time again. Our next meeting is Thursday, September 11 at cPanel. * Does anyone have a topic they would like to present? - A topic you are expert in? - A project you are working on? - A cool hack you would like to show off? * Does anyone have a topic they would like to see? * Any topics from https://github.com/estrabd/houston-pm-topics-list strike your fancy? G. Wade -- Trying to outsmart a compiler defeats much of the purpose of using one. -- Brian Kernighan and P.J. Plauger From toddr at cpanel.net Thu Aug 21 20:20:44 2014 From: toddr at cpanel.net (Todd Rinaldo) Date: Fri, 22 Aug 2014 05:20:44 +0200 Subject: [pm-h] September Call for Presentations In-Reply-To: <20140821201016.6c70bc62@cygnus> References: <20140821201016.6c70bc62@cygnus> Message-ID: I'll add a 5-10 minute YAPC::EU wrapup to whatever talk if anyone's interested. Todd On Aug 22, 2014, at 3:10 AM, G. Wade Johnson via Houston wrote: > Hi all, > > It's that time again. Our next meeting is Thursday, September 11 at > cPanel. > > * Does anyone have a topic they would like to present? > - A topic you are expert in? > - A project you are working on? > - A cool hack you would like to show off? > * Does anyone have a topic they would like to see? > * Any topics from https://github.com/estrabd/houston-pm-topics-list > strike your fancy? > > G. Wade > -- > Trying to outsmart a compiler defeats much of the purpose of using one. > -- Brian Kernighan and P.J. Plauger > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Sun Aug 24 16:32:11 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 24 Aug 2014 18:32:11 -0500 Subject: [pm-h] Fw: Community News: Get Your Free Books + More from O'Reilly Message-ID: <20140824183211.60e9045b@cygnus> Begin forwarded message: Date: Sun, 24 Aug 2014 16:02:00 -0700 From: Marsee Henon and Jon Johns To: gwadej at anomaly.org Subject: Community News: Get Your Free Books + More from O'Reilly View this message as HTML http://post.oreilly.com/rd/9z1zgdcd4jjcshni9qqatju2u5big3gu029ktl60og0 Send this to a friend http://post.oreilly.com/f2f/9z1zki24ses0tl0ap8h669pofa0qjl1a1mqe70i0aa0 Hello, Our annual Back-to-school sale starts Monday, August 25th. This is one of our most popular sales of the year, and we'd like you to make sure everyone gets a chance to save, and perhaps learn something new this year. Pleas share this info with your community, or via social media. http://post.oreilly.com/rd/9z1zfepffllglscrq673k0ahpjnt99qhu07t96g152o Cheers, Marsee Henon and Jon Johns P.S. Did you know we have hundreds of hours of free video training available on our webcasts page? Just scroll down below the "Upcoming" section and you can sort by category and watch full 1-hour+ presentations from experts. http://post.oreilly.com/rd/9z1zkk5c6l7pjv6lr5toh8gu9199b60skv1iib1eas0 Available for Review We're looking for reviewers for the following books & videos. Consider posting your reviews on Amazon, Slashdot, oreilly.com, goodreads.com and/or your blog. Mobile and Web Messaging http://post.oreilly.com/rd/9z1z76avqffrf51244eqbagl5gv8nn152vaqc6i27po Photoshop CC: The Missing Manual, 2nd Edition http://post.oreilly.com/rd/9z1zbit2v4vfu20tgqet30j8phhlk3vf45m6f9mfoko Learning MCollective http://post.oreilly.com/rd/9z1z4n7vqiudc1uc24sp9ciqfd5tugo8ikuc2jkg4kg It's easy for you to get books for your meeting or special events -- just email usergroups at oreilly.com and include the words "book request" in the subject line. Don't forget to include your deadline and shipping address. Prefer ebooks? We can send you a free ebook certificate to print out for raffles or book reviewers. New Releases Make: Rockets http://post.oreilly.com/rd/9z1z7ggq8d3pc03n97lsrrdnuujfpho1bvb82bvsc78 Getting Started with Impala http://post.oreilly.com/rd/9z1z02nhu85iknohqnkihou9ign6a0phfupa7gijgu0 Salt Essentials http://post.oreilly.com/rd/9z1z0f7ikodd6j5gnk3g5r40q4phuvbduvf8rklvlb0 Hadoop Security http://post.oreilly.com/rd/9z1z51e91tpvgjr8ee0d4j6r6hesvv167jcqud56ju0 Designing Mobile Payment Experiences http://post.oreilly.com/rd/9z1zso9s6es8v52b4ruquiplrpqvalhckuhkgpq67do Introducing GitHub http://post.oreilly.com/rd/9z1zb4hbh07jlbuacfg4fo7ka9v2bg0ms6m1dheqq3g Stories we're following at O'Reilly Postmortems, sans finger-pointing: The O'Reilly Radar Podcast In this episode, John Allspaw talks in-depth about blameless postmortems and creating a just culture. http://post.oreilly.com/rd/9z1z44cnv1nj234vaa3dueq710jkvvln45rkdqbe1tg Not just the government's playbook The 13 principles in the U.S. CIO's Digital Services Playbook are applicable for everyone. http://post.oreilly.com/rd/9z1z0qfp8h5u5lh7g3rq1rtkkag6bpmpi2nmdkh0lpo Ten years of OpenStreetMap OSM is moving out of its awkward adolescence and into its mature, young adult phase. http://post.oreilly.com/rd/9z1z4pqf21uta3sktrlihcar5b045rpdslt45tdht00 Does net neutrality really matter? Competition, access to bandwidth, and other issues muddy the net neutrality waters. http://post.oreilly.com/rd/9z1zp269upugel20tr7udlr59r4knpsilvf53q891q8 Featured Training Video this week Programming 3D Applications in HTML5 and WebGL 3D Animation and Visualization for Web Pages http://post.oreilly.com/rd/9z1zkuvfahlj4pd4leij962repito8hl0gmjk10026g OSCON 2014: Complete Video Compilation http://post.oreilly.com/rd/9z1zvs25700qm5t01408j44cncbd6efuld53q1ij75o "Usually I read and re-read a book until I wear holes in the pages. To me, this means that I have thoroughly read that book." - anonymous author. The folks at CheckiO are running a programming challenge in the spirit of Burning Man. Try out the "Text Holes Golf" mission for a chance to win some prizes from us. You have until August 28. http://post.oreilly.com/rd/9z1zs6i0tiname27vp65p2t2vmspsan65fga0tqgr98 Startup Grind 2015 - 2 for 1 bundles until 9/4 (Feb 9th-11th, Redwood City, CA) Startup Grind, a global community of entrepreneurs and technologists with chapters in 113 cities puts on a Global Conference once a year. 2,000 startups, developers, investors, marketers, and anyone looking for a little inspiration will converge at the Fox Theater in Redwood City, CA this February 9-11. Confirmed speakers include Vinod Khosla (Sun Microsystems), Adi Tatarko (Houzz), Logan Green (Lyft), and Scott Harrison (Charity: Water). 2 for 1 Bundles Available Until 9/4. http://post.oreilly.com/rd/9z1z6t8068d9jq4buuoj3tsb9v0l0cuqj6urptgubkg Northeast PHP Conference (Sept 6-7, Boston, MA) Join up to 300 software developers, web technologists, and user experience professionals at the Northeast PHP Conference on Saturday, September 6th and Sunday, September 7th in Boston. Northeast PHP is a community conference bringing together technical user groups from across the northeast, including Boston PHP. Keynote speakers include Steve Krug, author of "Don't Make Me Think" and "Rocket Surgery Made Easy". Save $25 off of the already highly affordable $150 ticket price with the promotional code "we-love-nephp". http://post.oreilly.com/rd/9z1zb8n6p7uem68be5rh0iflidf8nv7dfdr6iac20to Business of Innovation Summit (Sept 17-18, Providence, RI) Why go to the BIF Summit? Answers range from "opening my mind" to "new ideas that blow the top of my head off" to "amazing connections." That's what we call #RCUS - "random collisions of unusual suspects." Join 30 storytellers and 400 innovation junkies for two days of stories that will help you connect, inspire you, and transform your world. There's also a post-Summit workshop, The Future Is Now: 3D Printing, exploring the business-model possibilities of this disruptive technology. http://post.oreilly.com/rd/9z1zcu03upduvelotr024j82ohg59rk99kik9mnfgs0 The Lean Startup Conference (Dec 8-12, San Francisco, CA) O'Reilly will be at the Lean Startup Confernce this year, and several of our experts will be speaking, including Tim O'Reilly, Laura Klein, Cindy Alvarez, Alistair Croll, and Janice Fraser. They have five days of sessions and events designed to improve your success as an entrepreneur. Whether you're new to Lean Startup or tackling advanced topics in entrepreneurship, they're structuring the conference to address your biggest challenges and connect you with relevant experts and peers. They've opened a new round of Call for Proposals, you can submit here: http://post.oreilly.com/rd/9z1z64n29u1cb63i32le1pvhio0kvgsh91dh4r26jto Or you can register for the conference here: http://post.oreilly.com/rd/9z1zrd85b7784qj209lqbkq0se0c2i1sjujmmd5qti0 Community Member Discounts on O'Reilly Conferences Please don't forget to share the Community and User Group member discount code with your members. USRG will save your members 20% off any of our conferences, including these upcoming events: Velocity Conference NY http://post.oreilly.com/rd/9z1zhl7u8isafsm9mcl09sjo3tpf1gmllhc2vgvdm2g Strata Conference + Hadoop World http://post.oreilly.com/rd/9z1z3fh1q7rrg681ch2r6c58c634iufndo23dttiplg Velocity Barcelona http://post.oreilly.com/rd/9z1zq2bg1mgb4pdfk51ss39d329hhoq57gvkc1703a0 Strata Barcelona http://post.oreilly.com/rd/9z1zmj00mg93si3o4kd2vao7b7k5aojmrch5q3f29ho Put Up a Banner & Get a Free Book--Group Leaders Only We're looking for groups to display our discount banners on their websites. If you send us your group's site with one or more banners posted, we'll send you the O'Reilly book or video of your choice. Choose fromthe following list of banners: Velocity Conference in New York http://post.oreilly.com/rd/9z1zlpo8t53c26u5jq40mlse4afh035hljb3vsrucuo Velocity Conference in Barcelona http://post.oreilly.com/rd/9z1zhnm013ud11gvfoaf8nar4oqfo1b01391iufnabg Discount Banners http://post.oreilly.com/rd/9z1z3ttj0266fuupqge8184p8dj4p21vmeefpugq2oo Discount Slides (Powerpoint, Keynote, Open Office) http://post.oreilly.com/rd/9z1zpb6e0d05ss8gora0i9bdt6rv7m90nvaie28hlqo Strata Banners http://post.oreilly.com/rd/9z1zjrtu6qgsl5mcs4rt088t9ug7csjeup22imsklmo Looking for more? Visit oreilly.com ================================== O'Reilly 1005 Gravenstein Highway North, Sebastopol, CA 95472 800-998-9938 Follow us on Twitter @oreillyug You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to usergroups at oreilly.com ================================== -- If it doesn't have to be right, I can make it arbitrarily fast. -- Rick Hoselton -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at danrichman.com Thu Aug 28 14:40:32 2014 From: dan at danrichman.com (Dan Richman) Date: Thu, 28 Aug 2014 17:40:32 -0400 Subject: [pm-h] Part-time perl help needed Message-ID: Hi folks - Got a server feeding data to a mobile app. Server uses perl to gather NFL/college football game info & do some data transformations. Code is written, but need someone to help with minor details that come up & monitor data collection daemons & such. It?s all in Perl & the database is MySQL. This is sort of an "as needed" type deal. Not sure how long it will last -- I'd guess minimally a few months. VERY flexible. Client pays $60/hour. Let me know if interested! Just email dan at ryktr.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Aug 28 18:27:13 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 28 Aug 2014 20:27:13 -0500 Subject: [pm-h] Topic for next meeting Message-ID: <20140828202713.19117298@cygnus> The next meeting is in two weeks at cPanel and no one has actually volunteered to present. If you have an interest in presenting, now would be a good time to let us know. G. Wade -- To vacillate or not to vacillate, that is the question ... or is it?