in reply to
using 'use' conditionally
Have a look in the Perl Cookbook : "Recipe 12.2 Trapping Errors in require or use". It propose to trap problems with require using eval. It also says to do it in a BEGIN block (compile time versus run time).
Comment on
Re: using 'use' conditionally
In Section
Seekers of Perl Wisdom