X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/7af1e45967d6d5eb01e6eee642380123ba88be07..16492af7eadfb044c8ad563588ce02d7245b823e:/selfforum-cgi/shared/CheckRFC.pm diff --git a/selfforum-cgi/shared/CheckRFC.pm b/selfforum-cgi/shared/CheckRFC.pm index b000dcf..b43d723 100644 --- a/selfforum-cgi/shared/CheckRFC.pm +++ b/selfforum-cgi/shared/CheckRFC.pm @@ -4,7 +4,7 @@ package CheckRFC; # # # File: shared/CheckRFC.pm # # # -# Authors: Andre Malo , 2001-04-14 # +# Authors: André Malo # # # # Description: implement several string checks on RFC correctness # # # @@ -17,7 +17,6 @@ use vars qw( @email @EXPORT @ISA - $VERSION ); $v56 = eval q[ @@ -27,9 +26,15 @@ $v56 = eval q[ use Carp qw(croak); +################################################################################ +# # 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'} ################################################################################ # @@ -309,7 +314,7 @@ BEGIN { } } -# keeping require happy +# keep 'require' happy 1; #