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.
I wish... (Score:1)
Re:I wish... (Score:2)
And this really is the sort of thing which should be universal.
Re:I wish... (Score:1)
Module::Loader->load($module_name);What bugs me about the current approach is that when I use a CPAN module that loads this, it magically adds require() methods to all of my classes, whether I want them or not.
Reply to This
Parent
Re:I wish... (Score:2)
Yep, but I can't exactly back out of that now. Remember, UNIVERSAL::require is an implementation of a Perl 6 RFC. People started using it. Go figure.
require() is a special case. You're highly unlikely to create a method called "require" as its already a keyw