Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 94765a090e84aee67daa03f5bcb98b46 > files > 15

perl-5.10.0-21mdv2009.0.src.rpm

--- lib/CGI/t/fast.t.orig	2004-04-22 10:48:19.981671424 +0200
+++ lib/CGI/t/fast.t	2004-04-22 10:49:19.655392867 +0200
@@ -7,11 +7,7 @@ use lib qw(t/lib);
 use lib qw(blib/lib blib/arch);
 
 my $fcgi;
-BEGIN {
-	local $@;
-	eval { require FCGI };
-	$fcgi = $@ ? 0 : 1;
-}
+$fcgi = 0; # force it to 0 to avoid loading the system's FCGI
 
 use Test::More tests => 7;