Subject: | Remove all references to AutoLoader and Exporter ( patch ) |
Under -w (or use warnings) the module will complain about:
Can't locate package AutoLoader for @Net::Syslog::ISA.
@ISA contains Exporter and AutoLoader but nothing is exported nor
is any code autosplit.
A patch is attached that:
Removes anything to do with Exporter ( it is never used )
Removes @ISA (modules listed are not used or have not been loaded)
Removes Comments concerning Exporting
I have emailed the author about this previously.
Clayton
--- Syslog.pm.orig Mon Jul 8 14:21:25 2002
+++ Syslog.pm Mon Jul 8 14:21:51 2002
@@ -1,17 +1,8 @@
package Net::Syslog;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
+use vars qw($VERSION);
use IO::Socket;
-require Exporter;
-
-@ISA = qw(Exporter AutoLoader);
-# Items to export into callers namespace by default. Note: do not export
-# names by default without a very good reason. Use EXPORT_OK instead.
-# Do not simply export all your public functions/methods/constants.
-@EXPORT = qw(
-
-);
$VERSION = '0.03';