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 30 feature increments to the main 5 version. This gets turned into 5.3034 for CPAN. Note this method works for versions like 5.10.3 (5.1003) but fails for more than 99 feature and bugfix subversions. David _____________________________________________________________________ David Coppit [EMAIL PROTECTED] The College of William and Mary http://coppit.org/ This time, let's elect a representative instead of a leader.