Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-ConfigAuto CPAN distribution.

Report information
The Basics
Id: 11352
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-ConfigAuto

People
Owner: MARKSTOS [...] cpan.org
Requestors: william [...] knowmad.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.00
Fixed in: (no value)



Subject: Use of AutoLoader
Hey Mark, I'm working on tracking down a problem using PAR with one of my projects. In the process, I came across some information about AutoLoader which applies to your plugin. You are subclassing AutoLoader via @ISA (though I can't see that you're really using it in any way; maybe this is carry-over from the pre-plugin code though I couldn't see anywhere in that code where you used it either). According to the AutoLoader docs, this usage has been deprecated for quite awhile: "AutoLoaders prior to Perl 5.002 had a slightly different interface. Any old modules which use AutoLoader should be changed to the new calling style. Typically this just means changing a require to a use, adding the explicit 'AUTOLOAD' import if needed, and removing AutoLoader from @ISA." Removing AutoLoader from @ISA did not appear to affect my script. Alas, it was not the magic bullet to get PAR working. William
[guest - Wed Feb 2 22:45:13 2005]: Show quoted text
> Hey Mark, > > I'm working on tracking down a problem using PAR with one of my > projects. In the process, I came across some information about > AutoLoader which applies to your plugin. > > You are subclassing AutoLoader via @ISA (though I can't see that > you're really using it in any way; maybe this is carry-over from > the pre-plugin code though I couldn't see anywhere in that code > where you used it either). According to the AutoLoader docs, this > usage has been deprecated for quite awhile: > > "AutoLoaders prior to Perl 5.002 had a slightly different interface. > Any old modules which use AutoLoader should be changed to the new > calling style. Typically this just means changing a require to a > use, adding the explicit 'AUTOLOAD' import if needed, and removing > AutoLoader from @ISA." > > Removing AutoLoader from @ISA did not appear to affect my script. > Alas, it was not the magic bullet to get PAR working.
William, I think there was some confusing. I don't think ::Plugin::ConfigAuto ever used AutoLoader. We use Exporter: use vars qw($VERSION @ISA @EXPORT_OK); require Exporter; @ISA = qw(Exporter); Re-open the ticket if I've missed something. Mark