NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Missing the third part of that "use base" equiv... (Score:2)
Re:Missing the third part of that "use base" equiv (Score:1)
use base is problematic (Score:2)
I don't trust it. I prefer to call require or use myself, and consequentially, setting @ISA by hand.
Re:use base is problematic (Score:1)
No offence, but have you sent in a bug report with a patch, or even a failing test? I'm sure you must have hit an odd corner case. It's in the core, it's in broad use, so it must be okay for the majority of uses.
Re:use base is problematic (Score:1)
I wish that were true, but sadly, it's not. Quite a few core modules have big, big messes inside.
Re:use base is problematic (Score:1)
Any chance you could respond to my original questions? I'm really curious about it.
Re:use base is problematic (Score:2)
- Trying to load a module (and failing) where it shouldn't even have tried
- Not trying to load a module where it should have loaded it
If you could steer base telling it exactly where you want it to load a module or not, then there would be far less of a problem. I personally would have thought of a "+" or "-" prefix in front of the module name, for example:Reply to This
Parent