[sf-perl] Dumb Q's about CPAN submission

Fred Moyer fred at redhotpenguin.com
Fri Mar 4 14:34:35 PST 2011


On Fri, Mar 4, 2011 at 11:51 AM, Greg Lindahl <greg at blekko.com> wrote:
> I'm trying to submit my first CPAN modules and I have some dumb
> questions that I haven't found answers for.
>
> 1) I think the process should be:
>
> * submit a test version (how do I indicate that? $VERSION = '1.00_1' ?)

I think the _1 version suffix is a win for when you need to do
developer releases and not have CPAN install _1 as the latest version
(or _2, etc).  However for leading up to version 1.00, I prefer to do
0.01, 0.02...0.9 and then jump to 1.00 declaring that as stable.  I
don't think there any CPAN indexing nits with that, but I could be
wrong.


> * cpan smokers send me emails showing breakage
> * fix bugs, rinse repeat, when done, use $VERSION = '1.00' to release
>
> Correct?
>
> 2) I have dependencies with YAML and Test::More -- the one other
> system I tried had an older version of Test::More which doesn't
> grok 'done_testing()'.
>
> How do I figure out which versions to ask for? Or should I just avoid
> done_testing() in cpan modules, so as to tolerate older versions?
>
> Thanks! Pointers to the right FM are as welcome as direct answers...
>
> -- greg
>
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>


More information about the SanFrancisco-pm mailing list