http://www.perlmonks.org?node_id=1080706

halfcountplus has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to do this (the examples are core modules just to make the point):

no strict; my @required = ( File::Basename, File::Copy, File::Find ); use strict; my @missing; foreach (@required) { eval { require }; push @missing, $_ if $@; }

But it does not work ("Can't locate File::Basename..." etc). What's the problem and is there any way around it?