A few minutes ago, I wrote:

> Hello,
> 
> 
> I uploaded a new version of this module suite, and the PAUSE indexer
> gave me these strange errors:
> 
> > Status of this distro: Decreasing version number
> > ================================================
> > 
> > The following packages (grouped by status) have been found in the
> > distro:
> > 
> > Status: Decreasing version number
> > =================================
> > 
> >      module : RackMan::Config
> >      version: undef
> >      in file: RackMan-1.19/lib/RackMan/Config.pm
> >      status : Not indexed because lib/RackMan/Config.pm in
> >              S/SA/SAPER/RackMan-1.18.tar.gz has a higher version
> >              number
> >              (0)
> 
> In other terms, RackMan::Config has no $VERSION, but it was coerced
> into 0 for distribution 1.18, and undef is considered < 0. I would
> tend to see undef and zero as equal, here.
> 
> This is the same for all the modules of the distribution, except the
> only one where $VERSION is defined:
> 
> > Status: Successfully indexed
> > ============================
> > 
> >      module : RackMan
> >      version: 1.19
> >      in file: RackMan-1.19/lib/RackMan.pm
> >      status : indexed
> 
> I feel a bit confused. Do we now need to define $VERSION in each and
> every modules?

Updating my MiniCPAN, I just saw the new version getting there.
If someone fixed that, thank you. Apart from the fact that PAUSE
sends a confusing "failed" status, I guess my previous mail can
be ignored :)


-- 
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.

Reply via email to