Subject: | Compress::Raw::Zlib uses AutoLoader for no reason |
Compress::Raw::Zlib loads the AutoLoader module, but doesn't have any autoloaded routines. This is a bit wasteful.
It's also one of very few modules in the perl code distribution still using AutoLoader. It would be nice to drop this to zero.
I've not done any digging in history to work out why things are they
way they are now.
Patch attached that removes the AutoLoader references.
Nicholas Clark
Subject: | Zlib-de-Autoload.patch |
diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
index e72be0a..c2f4443 100644
--- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
+++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
@@ -3,7 +3,6 @@ package Compress::Raw::Zlib;
require 5.006 ;
require Exporter;
-use AutoLoader;
use Carp ;
use strict ;
@@ -592,9 +591,6 @@ sub Compress::Raw::Zlib::deflateStream::deflateParams
}
-
-# Autoload methods go after __END__, and are processed by the autosplit program.
-
1;
__END__