bulrush has asked for the wisdom of the Perl Monks concerning the following question:
In my Perl program I have the version and subversion numbers like this:
$SUBVER=2; # 2 is current subversion
$VER="1.0.".sprintf("%03d",$SUBVER);
I have a csh script which copies my test script to my production directory each time I update it. How can I get my 'update' script to increase the $SUBVER number in my perl code each time my 'update' csh script runs?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to increment subversion number inside Perl program
by Corion (Patriarch) on Jul 17, 2014 at 13:45 UTC |