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