]> Dogcows Code - chaz/p5-CGI-Ex/blobdiff - t/1_validate_14_untaint.t
CGI::Ex 2.27
[chaz/p5-CGI-Ex] / t / 1_validate_14_untaint.t
index 7dff711f65b673daec723947092d19da6a39dc6f..98f9d217f1e758e4a85e46df36ab0c1662660a3a 100644 (file)
@@ -10,7 +10,7 @@
 use strict;
 use Test::More tests => 14;
 use FindBin qw($Bin);
-use lib ($Bin =~ /(.+)/ ? "$1/../lib" : ''); # add bin - but untaint it
+use lib ($Bin =~ /(.+)/ ? (-e "$1/../blib" ? "$1/../blib" : "$1/../lib") : ''); # add bin - but untaint it
 
 ### Set up taint checking
 sub is_tainted { local $^W; eval { eval("#" . substr(join("", @_), 0, 0)); 1; } ? 0 : 1 }
This page took 0.018283 seconds and 4 git commands to generate.