Re: How best to state VERSION

2008-02-18 Thread Jerry D. Hedden
There's a million and one opinions on this. Here's mine. I only use the #.## format, and never use a zero for the last digit. Therefore, I always start with 1.01, and wouldn't use something like 1.10, (i.e., I'd go from 1.09 to 1.11). I've never had any problems with this formating, and it

Re: How best to state VERSION

2008-02-18 Thread David Coppit
On Sun, 17 Feb 2008, Jerry D. Hedden wrote: There's a million and one opinions on this. One module I ran into uses to compare version numbers. Here's what I do: $VERSION = sprintf %d.%02d%02d, q/5.30.34/ =~ /(\d+)/g; So in my mind there have been 34 bugfix releases to the 5.30 version, and

Re: How best to state VERSION

2008-02-18 Thread Guy Hulbert
On Mon, 2008-02-18 at 10:08 -0500, David Coppit wrote: On Sun, 17 Feb 2008, Jerry D. Hedden wrote: There's a million and one opinions on this. There aren't that many perl modules on CPAN. One module I ran into uses to compare version numbers. Here's what I remember reading somewhere*

Re: How best to state VERSION

2008-02-18 Thread Guy Hulbert
Sorry, I hit send before I finished editing. On Mon, 2008-02-18 at 10:42 -0500, Guy Hulbert wrote: something reasonable** but the debian-perl group has worked out a way to deal with this. [ i expect they have done so ] I read recently on debian-perl that 30% of debian packages are perl now. [

Re: How best to state VERSION

2008-02-18 Thread David Coppit
On Mon, 18 Feb 2008, Guy Hulbert wrote: I remember reading somewhere* that perl version numbers are strings and that lexical comparison should be used. Digging deeper into my memory, I seem to recall running into the issue when I was implementing a Module::Install extension. There's a module

Re: How best to state VERSION

2008-02-18 Thread David Golden
On Feb 18, 2008 10:42 AM, Guy Hulbert [EMAIL PROTECTED] wrote: I remember reading somewhere* that perl version numbers are strings and that lexical comparison should be used. There are so many peculiar issues with version number comparison in Perl modules that I would strongly encourage people

Re: How best to state VERSION

2008-02-18 Thread Guy Hulbert
Thanks for the reference. On Mon, 2008-02-18 at 11:11 -0500, David Golden wrote: simple comparison. Instead, I would recommend that people use CPAN::Version, which is available in recent versions of CPAN. What is the reason to prefer CPAN::Version (see below) ? On the general topic of how

Re: How best to state VERSION

2008-02-18 Thread David Golden
On Feb 18, 2008 11:43 AM, Guy Hulbert [EMAIL PROTECTED] wrote: On Mon, 2008-02-18 at 11:11 -0500, David Golden wrote: simple comparison. Instead, I would recommend that people use CPAN::Version, which is available in recent versions of CPAN. What is the reason to prefer CPAN::Version (see

Re: Assistance with IPC modules and perl 5.10

2008-02-18 Thread Andy Armstrong
Hi Maurice, Tom (CCd) is attempting to get IPC::ShareLite working on 64 bit Fedora Core so it can be released as an FC package. He's filed a bug report (see below) but he's anxious to move things forward as quickly as possible because he has dependencies on IPC::ShareLite that need to be