![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Module::Build reccomends build_requiresby ysth (Canon) |
on Jan 05, 2009 at 01:11 UTC ( #734090=note: print w/replies, xml ) | Need Help?? |
You need require or eval STRING for that. eval BLOCK compiles the block at the same time the rest of your code is compiled, and the eval only traps runtime exceptions while executing BLOCK. Since "use" takes effect at compile time, your code will die when the module isn't found.
In Section
Seekers of Perl Wisdom
|
|