in reply to (OT) Version Numbers
It may be important for you to make the distinction between version numbers of individual modules and of the entire program. Let your source control deal with the former with something like the following, assuming you're using CVS:
$My::Package::VERSION = substr(q$Revision$, 10);
(There are lots of variations on this, just use one that works for you.)
For the latter, I'd actually recommend against what Corion mentioned -- mixing letters and numbers is a no-no for automatic version comparisons and will cause you lots of pain when dealing with CPAN. And even if you're never dealing with CPAN you might want to use some the tools that it uses to manage your own code.
My rules of thumb are:
Good luck
Chris
M-x auto-bs-mode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (OT) Version Numbers
by Fletch (Bishop) on Mar 25, 2002 at 20:19 UTC |