Good point.
Since the "use XSLoader ();" statement isn't dieing, I suspect XSLoader is already loaded (it is also a core module).
Oh! I just had an idea. One simple explanation would be if @INC included "/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR" before the path where the XSLoader module is. Then "use XSLoader ();" would load the XSLoader.pm from the APR::XSLoader module.
Note that @INC should not contain "/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR" at all.
So the next step I'd recomment is reporting the value of $INC{"XSLoader.pm"}.
- tye
In reply to Re^2: XSLoad::load calls itself? (use)
by tye
in thread XSLoad::load calls itself?
by brent.allsop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |