summaryrefslogtreecommitdiff
path: root/pod/perlmod.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlmod.pod')
-rw-r--r--pod/perlmod.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlmod.pod b/pod/perlmod.pod
index a216457cf8..6cbdce3f9b 100644
--- a/pod/perlmod.pod
+++ b/pod/perlmod.pod
@@ -335,7 +335,7 @@ create a file called F<Some/Module.pm> and start with this template:
# set the version for version checking
$VERSION = 1.00;
# if using RCS/CVS, this may be preferred
- $VERSION = do { my @r = (q$Revision: 2.21 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # must be all one line, for MakeMaker
+ $VERSION = sprintf "%d.%03d", q$Revision: 1.1 $ =~ /(\d+)/g;
@ISA = qw(Exporter);
@EXPORT = qw(&func1 &func2 &func4);