[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Speaking about debian-perl to conferences



gregor herrmann wrote:
> On Mon, 03 Mar 2008 21:52:16 +0200, Gabor Szabo wrote:
> > >   (0.2808.01-1)   libmodule-build-perl                      0.2808
> >
> >     Where was the additional 01 taken
> >     from ? Was that the 0.2808_01 release?
>
> Exactly, the underline is converted to a dot because underlines are
> not allowed in Debian version numbers.
> No big deal.

Well, from CPAN's and version.pm's PoV, 0.2807 < 0.2808_01 < 0.2808, 
whereas from dpkg's view, 0.2808 < 0.2808.01 < 0.2809.

The analogue of CPAN's _ (underscore) in dpkg terms is ~ (tilde):

  0.2807 < 0.2808~01 < 0.2808 < 0.2808.01 < 0.2809

  $ dpkg --compare-versions 0.2808~01 lt 0.2808 && echo true || echo false
  true

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: