Hill, Ronald wrote:

No, it is not CVS. This is the way it was in the Astro::Sunrise module I can't remember where I got it from.


$VERSION = (qw$Revision: 0.01 $)[1];


Thanks John!! I have changed the module to use this syntax


Except that if you are not using CVS, there is no reason to do it at all. Just use


$VERSION = "0.01";

instead; the "$Revision: 9.99 $" stuff is the allow CVS to automatically increment the revision when you commit a new version to the repository. It has no functionality at all outside of CVS.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748



Reply via email to