ExtUtils::testlib

Used for testing a module after it’s been built and before it’s been installed, when you don’t want to (or can’t) run make test. Adding:

use ExtUtils::testlib;

to your test program causes the intermediate directories used by make to be added to @INC, allowing you to run the test.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.