then you can just use a regexp or substring to put chop and edit the version number.$a = '0001'; $a++; print $a; 0002
In reply to Re: increment # but keep # of digits same
by suaveant
in thread increment # but keep # of digits same
by yankeeblue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |