5 require Config; import Config;
6 if (($Config{'extensions'} !~ /\b(DB|[A-Z]DBM)_File\b/) ){
7 print "Bail out! Perl configured without DB_File or [A-Z]DBM_File\n";
10 if (($Config{'extensions'} !~ /\bFcntl\b/) ){
11 print "Bail out! Perl configured without Fcntl module\n";
14 if (($Config{'extensions'} !~ /\bIO\b/) ){
15 print "Bail out! Perl configured without IO module\n";
18 # hey, DOS users do not need this kind of common sense ;-)
19 if ($^O ne 'dos' && ($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
20 print "Bail out! Perl configured without File::Glob module\n";