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 not to rely on any
simple comparison.  Instead, I would recommend that people use
CPAN::Version, which is available in recent versions of CPAN.

On the general topic of how to represent version numbers, I refer
people to this thread on Perl Monks:

http://perlmonks.org/index.pl?node_id=417576

Regards,
David

Reply via email to