use lib::latest "/path/to/bundled/cpan", "/another", -exclude => qr/^(Email::Valid|LWP::protocol::)$/; # Foo::Bar should be searched in all @INC entries, and the latest version used use Foo::Bar; # the first found @INC is used, which will be in /path/to/bundled/cpan use Email::Valid;