- or download this
( my $file= $class ) =~ s-::|'-/-g;
if( ! eval { require "$file.pm"; 1 } ) {
# work-around the failure here
}
- or download this
if( ! eval "require $class; 1" ) {
# work-around the failure here
}
- or download this
eval "require $class; 1"
or die $@;
- or download this
( my $file= $class ) =~ s-::|'-/-g;
require "$file.pm";