From: Dirk Koopman Date: Mon, 6 Dec 2021 23:09:27 +0000 (+0000) Subject: Fix spurious Text::Wrap warning on console.pl X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=36476fc1fa5aeefc5d34ff9e8bb9c08fafcfe589;p=spider.git Fix spurious Text::Wrap warning on console.pl --- diff --git a/perl/console.pl b/perl/console.pl index fad52b96..faf7c5ce 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -605,13 +605,11 @@ $SIG{'HUP'} = \&sig_term; # start upb -$Text::Wrap::Columns = $cols; +$Text::Wrap::columns = $cols; doresize(); $SIG{__DIE__} = \&sig_term; -$Text::Wrap::columns = $cols; - my $lastmin = 0;