Hi, 2003-12-21, v keltezéssel 13:24-kor Harald Welte ezt írta: > I would like to have people start testing/using pom-ng and report errors > back to me (via email). I've tried it, and had some problems with it. Namely, the following error message (Debian woody and sid, perl 5.6.1 and 5.8.2): hidden@big:~/patch-o-matic-ng$ ./runme Examining kernel in /usr/src/linux-2.4.22-tproxy113 Can't bless non-reference value at /usr/share/perl/5.6.1/Term/Cap.pm line 136. The patch attached fixed the problem. -- Regards, Krisztian KOVACS
Index: runme =================================================================== RCS file: /cvspublic/netfilter/patch-o-matic-ng/runme,v retrieving revision 1.7 diff -u -r1.7 runme --- runme 21 Dec 2003 19:03:23 -0000 1.7 +++ runme 22 Dec 2003 09:47:15 -0000 @@ -201,7 +201,7 @@ } if (defined($ENV{TERM})) { - my $terminal = Term::Cap->Tgetent(); + my $terminal = Tgetent Term::Cap {}; $clrscr = $terminal->Tputs('cl', 1); }