she needs to modify it. This Policy scans your file for comments that
look like this:
- # $Revision: 2.14 $
+ # $Revision$
# $Source: /myproject/lib/foo.pm $
A common practice is to use the C<$Revision$> keyword to automatically
define the C<$VERSION> variable like this:
- our ($VERSION) = '$Revision: 1.01 $' =~ m{ \$Revision: \s+ (\S+) }x;
+ our ($VERSION) = '$Revision$' =~ m{ \$Revision: \s+ (\S+) }x;
=head1 CONSTRUCTOR
A common practice is to use the C<$Revision$> keyword to automatically
define the C<$VERSION> variable like this:
- our ($VERSION) = '$Revision: 1.01 $' =~ m{ \$Revision: \s+ (\S+) }x;
+ our ($VERSION) = '$Revision$' =~ m{ \$Revision: \s+ (\S+) }x;
=head1 NOTES