I'm looking for suggestions for a name for a module that allows use of CVS 
revisions as perl versions (or for the name of an existing one, but I've 
searched CPAN and perlmonks and didn't find one).  It works like:

package Foo;
use strict;
use CVS_Version_Module qw$Revision$;
1;

and CVS replaces the $Revision with something like $Revision: 1.20 $ of 
course.  Then another module does:

use Foo 1.5;

Of course with "default" perl versioning 1.5 > 1.20 so that would fail, but I 
override the VERSION method (see L<perlfunc/use>) so the comparison works 
correctly for this case.

It's a pretty small module, fairly simple, I'm susprised nobody's contributed 
one like it to CPAN yet.  Maybe there are reasons against using CVS revisions 
as version numbers - we don't use tags so that's not one, and this module 
would be useful for us so probably also userful to others.  It also works 
fine with Exporter or object inheritance.

So, back to the original question: what's a good name for it?  CVS::Version?  
Module::CVS?  Version::CVS?

Thanks,

-- 
Dave
Isa. 40:31

Reply via email to