On 7/31/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:
> Slightly tangential but related: is there currently a module that
> simplifies simulating the non-availability of selected modules?
>
> use unavailable qw/LWP::UserAgent/;
> use Module::That::Needs::LWP::UserAgent;
> <bang>
>From the synopsis of Devel::Hide:
use Devel::Hide qw(Module/ToHide.pm);
require Module::ToHide; # fails
use Devel::Hide qw(Test::Pod Test::Pod::Coverage);
require Test::More; # ok
require Test::Pod 1.18; # fails
Regards,
David