Prepare for git repository
[spider.git] / perl / Editable.pm
index 3dd7cff97b5eccdf418e402a737f692cb73c633a..28c676ec59d2f45310ce0f05d3bfe0e184616053 100644 (file)
@@ -15,12 +15,6 @@ package Editable;
 
 use strict;
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 use DXChannel;
 use DXDebug;
 use BadWords;
@@ -62,7 +56,7 @@ sub modline
        if (my @ans = BadWord::check($line)) {
                return ($dxchan->msg('e17', @ans));
        }
-    ${$self->{lines}}[$no], $line;
+    ${$self->{lines}}[$no] = $line;
        return ();
 }