On Fri, 29 Jul 2005, David Totten wrote:
> > line in the Storable.pm module. Alternatively you could add
> > parentheses around the logcroak() arguments to tell Perl that this
> > is a subroutine call.
>
> As we don't have control of our clients' Storable installation, we
> must rely on what is available through PPM's. Just as a note, I ran
> into this same problem with our application and the new Perl Beta (the
> one that includes PerlEx).

Hi David,

I've tracked down the source of this problem.  It is the require()
overloading done by PerlEx to support "encrypted" modules.  This
code didn't handle top level modules correctly: because there is no
'::' substring in the name it could be either a module or a filename.
The result was that for these modules the %INC entries used the
fully qualified filename as the key, which in turn breaks
AutoLoader which can't find the .ix file containing the function
predeclarations.

Anyways, since PerlEx in ActivePerl doesn't support encryption, there
is no reason to override require() anymore at all, so I removed that
code and Storable now works as expected with PerlEx (once it gets
released in ActivePerl 815).

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to