Steffen Mueller wrote:
Hi,


It looks like some weird interaction between PAR and Autoloader.
The reason for the error message seems to be that auto/Storable/_retrieve.al
is loaded BEFORE auto/Storable/autosplit.ix (so that logcarp isn't known
to be a sub). In fact, I get the same error message by doing

$  perl -cw .../auto/Storable/_retrieve.al

Thanks, Roderich, for the head start in tracking this down.

Well, yes, it is a strange interaction. Have a look at this code from
taken and simplified from AutoLoader::import, which tries to find&load
the autosplit.ix of a given module:

What can be done to fix this?
a) Finally, somebody finds the time and stamina to remove the whole
name-munging thing from PAR. It drives every other user off the cliff.
b) Patch AutoLoader to work around this.



Arguably, this is a bug or at least a glitch in AutoLoader anyway: It
shouldn't eval the tentative autosplit.ix *unless* the path substitution
succeeded. If this fixes things for you, I can make an AutoLoader
developer release, then a normal one, then submit the patch to p5p.
(Read, this is going to take a while. Breaking AutoLoader by oversight
is bad, bad, bad.)


Hi Steffen,

thanks a lot. The patch solved my problem!

Christoph

Reply via email to