X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FEditable.pm;h=28c676ec59d2f45310ce0f05d3bfe0e184616053;hb=88332ba1956540f080839d8c1dbd350bf696370c;hp=3dd7cff97b5eccdf418e402a737f692cb73c633a;hpb=417f55d271551683dfe1a49fb754024ba4731363;p=spider.git diff --git a/perl/Editable.pm b/perl/Editable.pm index 3dd7cff9..28c676ec 100644 --- a/perl/Editable.pm +++ b/perl/Editable.pm @@ -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 (); }