if (exists $INC{$filename}) { return 1 if $INC{$filename}; die "Compilation failed in require"; } #### use strict; BEGIN{ $INC{'CGI.pm'} = undef; } use CGI;