Help for this page
package Foo; use Dependency::Checker 'runtime_dependency'; ... make_agent() if runtime_dependency("LWP::UserAgent"); } 1;