X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/bca3eed65c50f585248ae3a1cc8bb6a74e4e8bb8..1783408d3a61b5bd23ee6e3bb637b6d92ac40490:/selfforum-cgi/shared/Template/Posting.pm?ds=sidebyside diff --git a/selfforum-cgi/shared/Template/Posting.pm b/selfforum-cgi/shared/Template/Posting.pm index 7f0d940..3fafa4a 100644 --- a/selfforum-cgi/shared/Template/Posting.pm +++ b/selfforum-cgi/shared/Template/Posting.pm @@ -4,7 +4,7 @@ package Template::Posting; # # # File: shared/Template/Posting.pm # # # -# Authors: Andre Malo , 2001-06-16 # +# Authors: André Malo # # # # Description: show HTML formatted posting # # # @@ -13,7 +13,6 @@ package Template::Posting; use strict; use vars qw( @EXPORT - $VERSION ); use Encode::Posting; @@ -40,7 +39,11 @@ use XML::DOM; # # 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'} ################################################################################ #