Re: contemplating module libraries

2010-12-11 Thread David Christensen
David Golden wrote: >> "Writing Perl Modules for CPAN": > > The tutorials on PerlMonks are probably better: > > http://perlmonks.org/index.pl?node_id=592240 I'll starting reading. This sort of complicated Makefile.PL manipulation is why many people have switched to Module::Install or Dist::Zil

Re: contemplating module libraries

2010-12-11 Thread David Golden
On Fri, Dec 10, 2010 at 7:40 PM, David Christensen wrote: > Does 'configure_requires' support map to a Perl version? It really maps to CPAN client versions, but Perl 5.10.1 ships with CPAN and CPANPLUS that understand configure_requires. Older Perls only need to upgrade CPAN and/or CPANPLUS to s

Re: contemplating module libraries

2010-12-10 Thread David Christensen
David Golden wrote: It's your responsibility to include META.yml. ExtUtils::MakeMaker will generate it for you since EU::MM 6.46 or so. Thanks for the clarification. Testing just now, it seems 'make dist' puts META.yml in the tarball. It's my understand that PREREQ_PM is for specifying ex

Re: contemplating module libraries

2010-12-10 Thread David Golden
On Fri, Dec 10, 2010 at 5:03 PM, David Christensen wrote: > I don't produce a meta.yml in my distributions.  It's my understanding that > the CPAN indexer does that for me after I upload a distribution tarball. It does not. It's your responsibility to include META.yml. ExtUtils::MakeMaker will g

Re: contemplating module libraries

2010-12-10 Thread David Christensen
Daniel Staal wrote: If you separate 'module' from 'distribution', then I'd make that a cleaner yes. One CPAN distro should contain all the modules needed for a basic use of some functionality, which is often one module, but may be more. I was groping for the word "distribution" -- thanks. :-)

Re: contemplating module libraries

2010-12-10 Thread Daniel Staal
I'll take a stab at starting a reply for this... On Fri, December 10, 2010 4:22 am, David Christensen wrote: > module-authors: > > I have a library of CPAN modules that I've turned into a CPAN bundle: > > > http://search.cpan.org/~dpchrist/Bundle-Dpchrist-1.044/lib/Bundle/Dpchrist.pm > > If I'm r

contemplating module libraries

2010-12-10 Thread David Christensen
module-authors: I have a library of CPAN modules that I've turned into a CPAN bundle: http://search.cpan.org/~dpchrist/Bundle-Dpchrist-1.044/lib/Bundle/Dpchrist.pm If I'm remembering correctly, each module should contain just one *.pm file. The top half (Dpchrist::ExtUtils::MakeMaker through