Package: libnet-ident-perl Version: 1.20-2 Severity: minor Tags: sarge patch
The (seemingly harmless) message Net::Ident::_export_hooks() called too early to check prototype at /usr/share/perl5/Net/Ident.pm line 29. occurs upon module start-up with recent versions of perl (eg version 5.8.4-8, as of Sarge). The attached patch should fix this (adds a forward declaration).
--- /usr/share/perl5/Net/Ident.pm 2002-08-21 13:12:02.000000000 +0200 +++ Ident.pm 2005-07-27 11:37:44.000000000 +0200 @@ -25,6 +25,8 @@ 'debug' => \&_set_debug, ); +sub _export_hooks (); + # put the export hooks in the standard Exporter structures _export_hooks(); # for compatibility mode, uncomment the next line @@ s/^#\s*// @@