X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FEditable.pm;h=0655fcf6a1629050cf9b7fbbb64d75dff7261b1b;hb=7b8a8931b9fe531868777d5168b9a35baf37f0d9;hp=3dd7cff97b5eccdf418e402a737f692cb73c633a;hpb=417f55d271551683dfe1a49fb754024ba4731363;p=spider.git diff --git a/perl/Editable.pm b/perl/Editable.pm index 3dd7cff9..0655fcf6 100644 --- a/perl/Editable.pm +++ b/perl/Editable.pm @@ -8,19 +8,13 @@ # # Copyright (c) 2001 Dirk Koopman G1TLH # -# $Id$ +# # 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 (); }