Think about Loose Coupling | |
PerlMonks |
Re^5: Testing for a module's presenceby Anonymous Monk |
on Feb 06, 2005 at 05:54 UTC ( [id://428442]=note: print w/replies, xml ) | Need Help?? |
If memory is an issue, traversing @INC may be your best option.
So if I used File-Find to traverse @INC, looking for Some::Module, that would be faster and more efficient that using a require within an eval? I keep thinking that if I have over 1,000 modules on my system, I will be doing a lot time-consuming searching. Am I wrong to look at it this way?
In Section
Seekers of Perl Wisdom
|
|