]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Encode/Plain.pm
improved the behavior of get_all_threads and create_forum_xml_string
[selfforum.git] / selfforum-cgi / shared / Encode / Plain.pm
index 3deb755c7e3e83c7630188477517d5ac5f0df615..2379e3862003cdde559134d89c0fc44590c1817e 100644 (file)
@@ -4,7 +4,7 @@ package Encode::Plain;
 #                                                                              #
 # File:        shared/Encode/Plain.pm                                          #
 #                                                                              #
-# Authors:     AndrĂ© Malo <nd@o3media.de>, 2001-04-12                          #
+# Authors:     AndrĂ© Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: Encode text for HTML Output (entities, spaces)                  #
 #                                                                              #
@@ -17,14 +17,17 @@ use vars qw(
   %unimap
   $utf8
   $v56
-  $VERSION
 );
 
 ################################################################################
 #
 # 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'}
 
 $v56 = eval {local $SIG{__DIE__}; require 5.6.0;};
 
@@ -525,7 +528,7 @@ BEGIN {
   );
 }
 
-# keeping require happy
+# keep 'require' happy
 1;
 
 #

patrick-canterino.de