Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Using CVS for revision control

by Joost (Canon)
on Aug 06, 2002 at 11:41 UTC ( #187990=note: print w/ replies, xml ) Need Help??


in reply to Re: Using CVS for revision control
in thread Using CVS for revision control

I usually do something like

$VERSION = sprintf "%d.%03d",q$Revision: 1.15 $ =~ /(\d+)\.(\d+)/;

That will give a $VERSION = '1.015' for $Revision 1.15

-- Joost downtime n. The period during which a system is error-free and immune from user input.


Comment on Re: Re: Using CVS for revision control
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://187990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-31 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls