in reply to Re^2: Perl usage (version number)
in thread Perl usage
As I recall, CVS has some magic such that $Revision nnn$ will be automatically updated, replacing nnn will the current CVS revision number each time you check the file in.
The rest of the code is to extract the number from the string $Revision nnn$ and reformat it so that each number (after the first) is displayed as two digits. So $Revision 1.2.3.4.5$ becomes 1.02.03.04.05.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl usage (version number)
by LanX (Saint) on Nov 23, 2015 at 16:14 UTC | |
by dsheroh (Monsignor) on Nov 24, 2015 at 07:54 UTC |