Re: Custom extensions to META.yml

2007-03-05 Thread Adam Kennedy
Chris Dolan wrote: Personally, The best solution is to have an official policy for adding non-standard additions. X- is bad for reasons that many people have shared. I like the idea of a per-module special prefs area. To insure that collisions are impossible, how about a URI for the prefs

Re: Custom extensions to META.yml

2007-03-05 Thread Adam Kennedy
Eric Wilhelm wrote: # from Chris Dolan # on Sunday 04 March 2007 11:44 am: To insure that collisions are impossible, how about a URI for the prefs wrapper like below (sorry, not sure if this is valid YAML) extensions: 'http://search.cpan.org/dist/CPAN-Reporter/': cc_author:

Re: supporting older perls

2007-03-05 Thread Adam Kennedy
As of 5.10, use constant will use less memory than Greg's version. I'm loathe to make the same changes for 5.8.9, as the implementation confuses some modules that inspect the symbol table. The necessary infrastructure will be in 5.8.9 though. You can add me to the don't want to see it happen

Re: Custom extensions to META.yml

2007-03-05 Thread Adam Kennedy
I would rather just lobby for cc_author being added to the spec with a very simple binary option rather than see a whole extension system built. cc_author: 0 Or even -- in a CPAN::Reporter independent style -- something like this: cc_author: pass: 0 fail: 1 unknown: 1 na: 0 So

Re: Custom extensions to META.yml

2007-03-05 Thread Adriano Ferreira
On 3/5/07, brian d foy [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Ricardo SIGNES [EMAIL PROTECTED] wrote: * brian d foy [EMAIL PROTECTED] [2007-03-04T12:09:26] I'm not talking about the particular field name, but the idea that I'd want to say in META.yml Don't send me mail, or

Re: supporting older perls

2007-03-05 Thread Dr.Ruud
Keith Ivey schreef: Dr.Ruud: Greg Matheson: A. Pagaltzis: Write the same thing without syntactic sugar from constant.pm. sub C1 () { 'C1' } Mmh. I see constant.pm does very little. Well, it nicely sets things up for the compiler to optimize. perl -MO=Deparse -e 'use constant

Re: Custom extensions to META.yml

2007-03-05 Thread Ricardo SIGNES
* brian d foy [EMAIL PROTECTED] [2007-03-04T12:09:26] I'm not talking about the particular field name, but the idea that I'd want to say in META.yml Don't send me mail, or whatever setting I want. Instead of having to disable (or enable) CC for every new tool, I'd want a setting that new

Re: supporting older perls

2007-03-05 Thread Keith Ivey
Dr.Ruud wrote: Keith Ivey schreef: Dr.Ruud: Greg Matheson: A. Pagaltzis: Write the same thing without syntactic sugar from constant.pm. sub C1 () { 'C1' } Mmh. I see constant.pm does very little. Well, it nicely sets things up for the compiler to optimize. perl -MO=Deparse -e

Re: supporting older perls

2007-03-05 Thread Greg Matheson
On Tue, 06 Mar 2007, Adam Kennedy wrote: I've now added checking of use constant { ... } to Perl::MinimumVersion as 5.8.0. Let me know if this works ok for you. 1.14 reports v5.8.0 if use constant { ... } is in and v5.6.0 if it is out. So it works. Adam Kennedy wrote: Eric Wilhelm