in reply to "Subversion" revision numbers as 0.01_blah
You can pepper with some parentheses to make it more readable :) The string will be expanded to something like $Revision: 144 $, at least according to their documentation.my $revision_number = '$Revision$' =~ /.Revision:\s+(\d+)/ ? $1 : '';
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Subversion" revision numbers as 0.01_blah
by rvosa (Curate) on Jun 04, 2005 at 16:37 UTC |