X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/df7bba65634dbc997ba06409e25a49b8be9dd139..7cfc9e17caf89a9b009e8fa2c65351255687706e:/selfforum-cgi/shared/Posting/Write.pm diff --git a/selfforum-cgi/shared/Posting/Write.pm b/selfforum-cgi/shared/Posting/Write.pm index 5670251..62fa11c 100644 --- a/selfforum-cgi/shared/Posting/Write.pm +++ b/selfforum-cgi/shared/Posting/Write.pm @@ -4,7 +4,7 @@ package Posting::Write; # # # File: shared/Posting/Write.pm # # # -# Authors: André Malo , 2001-04-08 # +# Authors: André Malo # # # # Description: Save a posting # # # @@ -14,7 +14,6 @@ use strict; use vars qw( %error @EXPORT - $VERSION ); use Encode::Plain; $Encode::Plain::utf8 = 1; @@ -44,7 +43,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'} ################################################################################ #