Module-Load-Conditional

Module::Load::Conditional(3p) Perl Programmers Reference Guide

Module-Load-Conditional

Module::Load::Conditional(3p) Perl Programmers Reference Guide # Module::Load::Conditional(3p) Perl Programmers Reference Guide NNAAMMEE # Module::Load::Conditional - Looking up module information / loading at runtime SSYYNNOOPPSSIISS # use Module::Load::Conditional qw[can_load check_install requires]; my $use_list = { CPANPLUS => 0.05, # LWP => 5.60, # 'Test::More' => undef, }; print can_load( modules => $use_list ) ? 'all modules loaded successfully' : 'failed to load required modules'; my $rv = check_install( module => 'LWP', version => 5. ...