projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54459b
)
Making the version number reflect the cvs version, to allow for easier
author
rangi
<rangi>
Wed, 15 Dec 2004 06:08:06 +0000
(06:08 +0000)
committer
rangi
<rangi>
Wed, 15 Dec 2004 06:08:06 +0000
(06:08 +0000)
debugging.
If we can ask people what version of a module they are running it makes
error checking easier
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
e70218a
..
8d305a8
100755
(executable)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-29,7
+29,8
@@
use C4::Date;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = 0.02;
+$VERSION = do { my @v = '$Revision$' =~ /\d+/g;
+ shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
=head1 NAME