in reply to "Subversion" revision numbers as 0.01_blah

You're probably looking for keywords. Keep in mind that you probably have to use single quotes to be on the safe side, because they're using $:
my $revision_number = '$Revision$' =~ /.Revision:\s+(\d+)/ ? $1 : '';
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.

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
    Yay! Yup, that's what I'm doing now. It works. Thank you both.