Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DB_File CPAN distribution.

Report information
The Basics
Id:
88258
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
nick [...] ccl4.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
1.830



Subject: DB_File uses AutoLoader for no reason
DB_File 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: DB-de-Autoload.patch
diff --git a/cpan/DB_File/DB_File.pm b/cpan/DB_File/DB_File.pm index 67083d8..89fb039 100644 --- a/cpan/DB_File/DB_File.pm +++ b/cpan/DB_File/DB_File.pm @@ -186,7 +186,6 @@ $DB_RECNO = new DB_File::RECNOINFO ; require Tie::Hash; require Exporter; -use AutoLoader; BEGIN { $use_XSLoader = 1 ; { local $SIG{__DIE__} ; eval { require XSLoader } ; } @@ -257,9 +256,6 @@ if ($use_XSLoader) else { bootstrap DB_File $VERSION } -# Preloaded methods go here. Autoload methods go after __END__, and are -# processed by the autosplit program. - sub tie_hash_or_array { my (@arg) = @_ ;
Thanks - applied.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.