Re: [RANT] Should we try to keep compatibility with old perl5s?

2018-08-12 Thread Paul Bennett
I have faced this question head-on with some of my modules. My take is that there are many, many corporations version-locked to specific "enterprise-grade" Linux distros, and stuck with system Perls maybe as old as 5.10, and potentially stuck with security policies that make solutions like

Stringification in Net::IPAddress::Util

2017-08-17 Thread Paul Bennett
Hi, All, Quick sanity check, if you please. Before I start to trying to merge my perl5 Net::IPAddress::Util into bradclawsie's perl6 IP::Parse, I want to make sure I'm not being crazy with the way stringification and cmp are overloaded. IP Addresses exist "on the wire" and naturally sort as

XML::DOM exists in two distros

2016-09-20 Thread Paul Bennett
There are two incompatible distros on CPAN that both provide packages named XML::DOM... libxml-enno (from 1998) and XML-DOM (from this year). Is it possible to get libxml-enno moved to BackPAN or at least deleted from CPAN? Case in point, chef's perlbrew provider's "perlbrew_cpanm" block takes

Operator Overloads in DBIC?

2016-03-06 Thread Paul Bennett
What's the best way for me to start a conversation with the lead developers of DBIC as well as the leads of the various modules that wrap DBIC as a plugin for other frameworks? I have most of a spec (and a tiny bit of pseudocode) prepared for adding operator overloads to result sets, to make it

Re: Seeking GONZUS for collaboration

2016-01-17 Thread Paul Bennett
On Jan 17, 2016 11:47 AM, "David Oswald" wrote: > > Have a look at the source (including Makefile.PL) of Math::Random::ISAAC, List::Binary::Search, and Bytes::Random::Secure for ideas of how. Also JSON, and Text::CSV. > > Most or all of the above load a Pure Perl module in the

Re: Seeking GONZUS for collaboration

2016-01-17 Thread Paul Bennett
On Jan 17, 2016 4:50 PM, "Olaf Alders" wrote: > > Have you had a look at https://metacpan.org/pod/Module::Implementation ? > > Olaf > I have now. Looks very promising indeed. Thanks! -- Paul W Bennett

Seeking GONZUS for collaboration

2016-01-17 Thread Paul Bennett
I'm PWBENNETT and I want to talk with GONZUS about Path::Hilbert::XS and how I can make my Path::Hilbert automatically load your ::XS module under the covers if it's installed. I welcome advice from anyone else who has experience shimming in ::XS module alternatives if present. I know there are

Re: Module name advice?

2014-07-25 Thread Paul Bennett
Hi, Maggie and John, On Fri, Jul 25, 2014 at 10:39 AM, John M Gamble jgam...@ripco.com wrote: On 7/25/2014 8:48 AM, Maggie X wrote: Thanks for looping me in, David! I don''t see Paul's email here though :) Looks like a nice contribution. Is it going to involve PDL? I don't plan for it to

Module name advice?

2014-07-22 Thread Paul Bennett
I'm in the process of writing a Perl module that provides a practical implementation of the statistics language described at http://ashishagarwal.org/2011/10/04/pdf-type-theory/ which would compile programs in that language to Perl objects that provide -pdf($n), -cdf($n), and -rand() methods

Re: Turning numbers into words

2014-07-11 Thread Paul Bennett
On Jul 10, 2014 12:15 AM, Buddy Burden barefootco...@gmail.com wrote: What I actually _want_, though, is to turn In 1994, on the 22nd of February, 3/4 of the 36 members were present into In nineteen ninety-four, on the twenty-second of February, three quarters of the thirty-six members were

Weird test results on linux.*ld (only)

2014-04-26 Thread Paul Bennett
Based on the results below, which show failures only on all linux-ld perls, and only failures on any linux-ld perl, what would you all recommend as my next debugging step(s)? http://matrix.cpantesters.org/?dist=Path-Hilbert%201.001 I could make more tests, and do more-verbose testing, but if the

Re: Weird test results on linux.*ld (only)

2014-04-26 Thread Paul Bennett
On Apr 26, 2014 5:54 PM, Karen Etheridge p...@froods.org wrote: ($n ($n - 1)) == 0 or confess(Side-length $n is not a power of 2); Yes :-) ... I was fixated on a general solution to is x a power of y? Thanks! -- Paul

Question for SHLOMIF (and everyone else)

2013-11-25 Thread Paul Bennett
Hi all, I'm writing my own parser to handle the complete ISO SGML specification (using the excellent Marpa::R2 by JKEGL). At the moment, it's purely a recreational effort, but the long-term plan is to get it on CPAN. Part of the plan is to store the parser output in the same format as

Re: Please help me name a module for lossy text compression

2012-12-20 Thread Paul Bennett
to put it? Does Text::Filter::DeltaExpression::(.*) more closely fit what the community would be expecting? Thanks, -- Paul Bennett (aka PWBENNETT) On Wed, Dec 19, 2012 at 10:26 PM, Brian Katzung bri...@kappacs.com wrote: Ben, How about creating Text::Filter::LowerCase and Text::Filter

Re: Math::BigInt inheritance problems

2011-10-10 Thread Paul Bennett
On Mon, 10 Oct 2011 13:30:22 -0400, Bill Ward b...@wards.net wrote: On Sun, Oct 9, 2011 at 7:44 AM, Paul Bennett paul.w.benn...@gmail.comwrote: Ah, but an IP address *is* really a number. An unsigned 128-bit integer, in fact, with some additional properties that are specific

Math::BigInt inheritance problems

2011-10-09 Thread Paul Bennett
https://rt.cpan.org/Public/Bug/Display.html?id=67204 Thanks, -- Paul Bennett (PWBENNETT)

Re: Math::BigInt inheritance problems

2011-10-09 Thread Paul Bennett
operations, bitshifting, comparison (including range comparison and sorting), and many other good numbery things definitely apply. -- Paul Bennett (PWBENNETT)

Re: Do we need another DTO/ORM module?

2011-08-03 Thread Paul Bennett
On Tue, 02 Aug 2011 12:11:45 -0400, Terrence Brannon scheme...@gmail.com wrote: On Sat, Apr 17, 2010 at 12:48 PM, Paul Bennett paul.w.benn...@gmail.comwrote: http://code.google.com/p/perl-**dbix-nailgun/source/browse/http://code.google.com/p/perl-dbix-nailgun/source/browse/ somehwat

Inheriting from Math::BigInt - What am I doing wrong?

2011-04-26 Thread Paul Bennett
...? Thanks again, -- Paul Bennett (PWBENNETT)

Re: What hurts you the most in Perl?

2010-11-30 Thread Paul Bennett
On Mon, 29 Nov 2010 19:08:46 -0500, Sven Dowideit svendowid...@home.org.au wrote: out of curiosity, did you try Devel::Leak::Object ? http://search.cpan.org/~adamk/Devel-Leak-Object-1.01/lib/Devel/Leak/Object.pm No, I didn't find that one. When I was tracking down a leak somewhere in

Re: What hurts you the most in Perl?

2010-11-29 Thread Paul Bennett
On Wed, 24 Nov 2010 10:54:31 -0500, Sébastien Aperghis-Tramoni sebast...@aperghis.net wrote: So I wonder what hurts *you* the most in Perl? In terms of Perl itself, apart from the reference syntax, the thing that really annoyed me recently was the lack of advanced debug tools, for example

Re: Looking for co-authors - ORM/DTO module

2010-11-07 Thread Paul Bennett
On Sun, 07 Nov 2010 11:54:10 -0500, Shlomi Fish shlo...@iglu.org.il wrote: Class::DBI is old, deprecated, and should not be used or be recommended to others. One should use DBIx::Class instead: http://www.dbix-class.org/ Or maybe a different ORM that has a different philosophy from either

Looking for co-authors - ORM/DTO module

2010-11-06 Thread Paul Bennett
Hi, For a while now, I've been working on-and-off on an ORM/DTO module, inspired by the Active Record stuff in Ruby on Rails. The grand master plan is that working with database records and recordsets should be just about as easy as working with normal variables. I'm kinda finding myself

DBIx::Nailgun - Looking for collaborators

2010-07-30 Thread Paul Bennett
I'm trying to make a distribution CPAN-ready but I'm finding my copious free time isn't all that copious. Anyone care to help me come up with POD and unit tests for http://code.google.com/p/perl-dbix-nailgun/ so I can get it ready for prime time? I'm especially concerned with getting

Re: File::AllUtils or similar

2010-07-04 Thread Paul Bennett
On Mon, 28 Jun 2010 18:52:28 -0400, Jonathan Swartz swa...@pobox.com wrote: Is there something like a File::AllUtils that uses and exports a bunch of standard file modules, for some definition of standard? If not, would it be reasonable for me to release one? Have you looked at IO::All?

How am I wrongly using Math::BigInt?

2010-06-13 Thread Paul Bennett
So, I've got this Perl module, http://search.cpan.org/~pwbennett/Net-IPAddress-Util/lib/Net/IPAddress/Util.pm, and it's not-quite-randomly failing its test suite on not-quite-random platforms. The testing summary is at http://matrix.cpantesters.org/?dist=Net-IPAddress-Util%200.10 As

Help renaming IPAddress::Simple

2010-03-18 Thread Paul Bennett
would have some insights, or at least a yea/nay on that namespace choice. So: any comments, questions, or suggestions? Thanks, -- Paul Bennett