require UNIVERSAL::require; my @modules_to_check = qw(Net::IP Net::CIDR List::BinarySearch); for my $module (@modules_to_check) { $module->require or warn "$module failed to load\n"; }
In reply to Re^3: checking for all packages
by aitap
in thread checking for all packages
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |