in reply to Re: Perl usage (version number)
in thread Perl usage
# set the version for version checking $VERSION = 1.00; # if using RCS/CVS, this may be preferred $VERSION = sprintf "%d.%03d", q$Revision: 1.1 $ =~ /(\d ++)/g;
compare CVS revisions
So its a way to generate a module's $VERSION number from the version control system's revision number.
...well...
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl usage (version number)
by dsheroh (Monsignor) on Nov 23, 2015 at 08:21 UTC | |
by LanX (Saint) on Nov 23, 2015 at 16:14 UTC | |
by dsheroh (Monsignor) on Nov 24, 2015 at 07:54 UTC |