Freeing my modules

2018-11-18 Thread Xavier Noria
Hey! It's been years since I have done any Perl. This decision has taken me some time, but I believe I have to free my CPAN modules: Acme::Pythonic Hash::MultiKey Algorithm::Combinatorics Net::FluidDB Net::Fluidinfo I have transferred maintainership to ADOPTME in PAUSE. A sy

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

2018-08-12 Thread Xavier Noria
I’ve been out of the Perl community for many years, but to give you an example of the opposite trend, in Rails we drop support for old Ruby really fast. People need to move forward if they want to upgrade Rails (and culturally, they normally do). Giving this example to subscribe something already

best practices for module renaming

2011-02-07 Thread Xavier Noria
Hi, I am the author of Net::FluidDB, which let's you talk to FluidDB. FluidDB has been renamed to Fluidinfo, and I should rename the module in accordance. Is there a recommended way to do this? Or should I just upload a different distribution and document the rename?

Re: What hurts you the most in Perl?

2010-12-02 Thread Xavier Noria
On Thursday, December 2, 2010, Shawn H Corey wrote: > On 10-12-02 11:36 AM, Dana Hudes wrote: > > In re the hashref vs list argument the motivation forme is that I gain very > little from using Perl's parameter prototyping. Indeed we have modules such > as Params::Validate because others feel th

Re: P($n,$r) and C($n,$r)

2008-02-04 Thread Xavier Noria
On Feb 4, 2008, at 5:39 PM, David Nicol wrote: I've written a couple of little recursive routines that provide arrays or arrayrefs of arrayrefs of all the possible permutations and combinations, of sets of n items, counting from 0 to n-1, and wondering if such a thing is worth cluttering up CPAN

Re: Spanish fiscal identifier validator

2007-10-12 Thread Xavier Noria
On Oct 13, 2007, at 1:08 AM, David Cantrell wrote: On Sat, Oct 13, 2007 at 12:20:09AM +0200, Xavier Noria wrote: On Oct 12, 2007, at 11:07 PM, David Cantrell wrote: Locale::ES::Identifiers::... perhaps? Good. I think there's the convention to put the country code to the right: L

Re: Spanish fiscal identifier validator

2007-10-12 Thread Xavier Noria
On Oct 12, 2007, at 11:07 PM, David Cantrell wrote: On Fri, Oct 12, 2007 at 10:56:36PM +0200, Xavier Noria wrote: On Oct 12, 2007, at 10:43 PM, David Precious wrote: Xavier Noria wrote: I would like to publish a validator of Spanish fiscal identifiers (NIF, NIE, CIF) but don't se

Re: Spanish fiscal identifier validator

2007-10-12 Thread Xavier Noria
On Oct 12, 2007, at 10:43 PM, David Precious wrote: Xavier Noria wrote: I would like to publish a validator of Spanish fiscal identifiers (NIF, NIE, CIF) but don't see any existing namespace where it fits. I'd say anywhere under Finance:: would be a suitable candidate. Thank

Spanish fiscal identifier validator

2007-10-12 Thread Xavier Noria
I would like to publish a validator of Spanish fiscal identifiers (NIF, NIE, CIF) but don't see any existing namespace where it fits. Do you have name suggestions? -- fxn

Re: In which linux distribution is my module available

2007-05-04 Thread Xavier Noria
On May 4, 2007, at 10:26 AM, Gabor Szabo wrote: A few days ago I created a report listing the availability of every CPAN module as package in various Linux distributions. A bit more work on it and now there is a report for each module author as well. http://www.szabgab.com/distributions/ Than

Re: CPAN::Forum update rss feed per PAUSEID

2006-08-29 Thread Xavier Noria
On Aug 29, 2006, at 5:08 PM, Johan Vromans wrote: Okay, call me stupid, but what should I do with this? When I feed http://www.cpanforum.com/rss/author/JV to firefox it offers to download a "application/rss+xml" file. Just for the record, Vienna grabbed my feeds just fine. -- fxn

Re: RFC: Set::Partition

2006-05-24 Thread Xavier Noria
On May 24, 2006, at 10:21, Smylers wrote: Xavier Noria writes: But that's a good point, instead of requiring the user to pass [keys % set] if he works with a hash, I could add a little sugar and accept hashrefs in addition to arrayrefs. ... Also there'd be lack of symmetry about

Re: RFC: Set::Partition

2006-05-24 Thread Xavier Noria
On May 24, 2006, at 4:37, Ken Williams wrote: BTW, Xavier & David both: The proposed interface for enumerating the set partitions uses array refs, but sets in perl are more naturally represented using hashes. I'd suggest re-implementing in terms of hashes, or perhaps giving it a complete-e

Re: RFC: Set::Partition

2006-05-23 Thread Xavier Noria
On May 24, 2006, at 4:37, Ken Williams wrote: That algorithm works, but it's overkill for this example, though. It generates all possible partitions into 2 sets, which is O(2^ {n-1}) partitions (see http://en.wikipedia.org/wiki/ Stirling_number_of_the_second_kind), but if we want just the on

Re: RFC: Set::Partition

2006-05-23 Thread Xavier Noria
On May 22, 2006, at 20:14, Xavier Noria wrote: That takes advantage of the fact that we want to divide a given set in just two subsets of fixed size. A partitions generator may be added to the module soon, but until then I think there's room for Set::Partition. Indeed, I just upload

Re: RFC: Set::Partition

2006-05-22 Thread Xavier Noria
On May 22, 2006, at 19:35, David Landgren wrote: Kurt Starsinic wrote: On 5/22/06, David Landgren <[EMAIL PROTECTED]> wrote: I have a list of elements, qw[a b c d e] and I wanted to steal some code from CPAN to divvy it up into two subsets of 2 and 3 members. And enumerate all the possibilit

Re: New Module Proposal - Math::Interval

2006-03-02 Thread Xavier Noria
On Mar 2, 2006, at 4:28, Ken Williams wrote: Hi Brendan, On Feb 26, 2006, at 6:46 PM, Brendan Leber wrote: First I need to explain a bit about intervals. In this context an interval is a new type of number just like a complex. Intervals are used to represent values in calculations where

Re: RFC - Data::SelectWithoutReplacement

2005-11-19 Thread Xavier Noria
On Nov 19, 2005, at 10:31, Xavier Noria wrote: On Nov 19, 2005, at 9:48, David Landgren wrote: And Xavier Noria did write: On Nov 17, 2005, at 22:45, David Landgren wrote: People, I have a simple module written and as far as I can tell, there's nothing on CPAN that does

Re: RFC - Data::SelectWithoutReplacement

2005-11-19 Thread Xavier Noria
On Nov 19, 2005, at 9:48, David Landgren wrote: And Xavier Noria did write: On Nov 17, 2005, at 22:45, David Landgren wrote: People, I have a simple module written and as far as I can tell, there's nothing on CPAN that does this. (Algorithm::Permute might, but it segfaults

Re: RFC - Data::SelectWithoutReplacement

2005-11-17 Thread Xavier Noria
On Nov 17, 2005, at 22:45, David Landgren wrote: People, I have a simple module written and as far as I can tell, there's nothing on CPAN that does this. (Algorithm::Permute might, but it segfaults on my machine). There are some modules dealing with this kind of stuff, with more generic

Re: Name for module to construct URI from named params?

2005-10-04 Thread Xavier Noria
On Oct 5, 2005, at 7:39, Dave Rolsky wrote: I'm planning to extract some code from MasonX::WebApp and release it separately. All it does is take a set of named params and return a new URI object from it: my $uri = URI::FromHash::uri( scheme => 'http', domain => ... ); It'll probably jus

Re: Problem while installing optimizer module

2005-05-31 Thread Xavier Noria
I am sorry, I redirected that message to a coworker and somehow the Cc was kept. -- fxn

Re: Module Name

2004-12-26 Thread Xavier Noria
On Dec 26, 2004, at 10:03 PM, Alberto Manuel Brandao Simoes wrote: Regexp::Rules is the name I'm pointing to, at the moment. I would go for the Text:: namespace instead, since the module is about transforming text by means of chained substitutions. In the Regexp:: namespace modules are generally

Re: Module Name

2004-12-26 Thread Xavier Noria
On Dec 26, 2004, at 7:07 PM, Alberto Manuel Brandao Simoes wrote: THe idea: RULES foo aa==>bb cd==>ef ENDRULES and it creates the function foo which receives a string, and applies the rules while possible, rewritting the string. Then, the purpose of the module is to construct and export that subr

Re: Module Name

2004-12-26 Thread Xavier Noria
On Dec 25, 2004, at 10:51 PM, Alberto Manuel Brandao Simoes wrote: I'm designing a new module to include a little rewritting language on Perl. It will be based on Filter::Simple. First, I imagined : Text::Rewrite Then Inline::Rewrite The language makes you able to define rules, and join that rule

Re: RFC: Hash::MultiKey

2003-03-12 Thread Xavier Noria
On Wed, 12 Mar 2003 21:15:55 + Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Sat, Mar 08, 2003 at 02:20:08PM +0100, Xavier Noria wrote: > > > This would be my first public module, but I am following Sam Tregar's > > recommendations from his book for this, so

RFC: Hash::MultiKey

2003-03-08 Thread Xavier Noria
I have written a class to provide a multi-key hash via tie(). It has some differences with Tie::ListKeyedHash. This is an overview of how it works: tie %hmk, 'Hash::MultiKey'; $keys1 = [ qw(foo bar) ]; $hmk{ $keys1 } = 1; $keys2 = [ qw(foo bar baz) ]; $hmk{ $keys2 } = { zoo