SYNOPSIS use lib::noop qw(Foo::Bar Baz); use Foo::Bar; # now a no-op use Qux; # load as usual DESCRIPTION Given a list of module names, it will make subsequent loading of those modules a no-op. This pragma can be used for testing. It works by installing a require hook in @INC that looks for the specified modules to be no-op'ed and return "1;" as the source code for those modules.