|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: Conditionally faking a moduleby bobf (Monsignor) |
| on Jan 13, 2010 at 19:14 UTC ( #817262=note: print w/ replies, xml ) | Need Help?? |
|
Apparently it may not always work, as I learned when I researched this further (see RE: Checking to see if a particular Module is installed). merlyn's response was to use the following: although there appears to be some caveats to that approach. If you are open to using other modules to do the check, you could look into ExtUtils::Installed and Module::Load::Conditional. See also a recent thread on this topic: Check if module is installed.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||