in reply to Module with optional features

Have a look at the has_inst subroutine in the CPAN-module. It basically does a eval { require $file } but has some additional tests for Module::Signature and some tests for other necessary modules.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law