X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/c28db4be88b67a7c7eed858469b4f86fb3bf7466..ca5bd65df2cf8a11ce49091dbe666c5792d28aa2:/selfforum-cgi/shared/Template/Forum.pm diff --git a/selfforum-cgi/shared/Template/Forum.pm b/selfforum-cgi/shared/Template/Forum.pm index 5183561..f4223f9 100644 --- a/selfforum-cgi/shared/Template/Forum.pm +++ b/selfforum-cgi/shared/Template/Forum.pm @@ -4,7 +4,7 @@ package Template::Forum; # # # File: shared/Template/Forum.pm # # # -# Authors: André Malo , 2001-06-16 # +# Authors: André Malo # # # # Description: print Forum main file to STDOUT # # # @@ -13,7 +13,6 @@ package Template::Forum; use strict; use vars qw( @EXPORT - $VERSION ); use Lock; @@ -30,7 +29,11 @@ use Template::_thread; # # Version check # -$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +# last modified: +# $Date$ (GMT) +# by $Author$ +# +sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'} ################################################################################ #