syntax error has been corrected
authorbtoumi <btoumi>
Tue, 23 May 2006 10:00:01 +0000 (10:00 +0000)
committerbtoumi <btoumi>
Tue, 23 May 2006 10:00:01 +0000 (10:00 +0000)
C4/Accounts2.pm

index bbff193..ea920ed 100755 (executable)
@@ -29,7 +29,8 @@ use C4::Circulation::Circ2;
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision$' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision$' =~ /\d+/g; 
+shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME