Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: eval "require $class" seems wrong (code)by tye (Sage) |
on Aug 22, 2007 at 23:01 UTC ( [id://634537]=note: print w/replies, xml ) | Need Help?? |
The choices of code I posted over 2 hours ago are all shorter, don't make your one minor mistake, and don't waste code making duplicate checks of %INC nor repeating parts of the error message that will be in $@. But, yeah, that's the general idea. :) - tye
In Section
Seekers of Perl Wisdom
|
|