Skip to content

Commit

Permalink
use $Config{perlpath} rather than $^X
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Feb 10, 2012
1 parent 575b663 commit 69396c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion t/90_full.t
@@ -1,5 +1,6 @@


use strict; use strict;
use Config;


print "1..29\n"; print "1..29\n";


Expand All @@ -15,7 +16,11 @@ $ENV{ARRAY} = join ':', qw/f00 ok b4r/;
$SIG{PIPE} = 'IGNORE'; $SIG{PIPE} = 'IGNORE';


$|++; $|++;
my $zoid = "| $^X script/zoid -o data_dirs=share -o rcfiles=../t/zoidrc";
# recommended over $^X by http://wiki.cpantesters.org/wiki/CPANAuthorNotes
my $perlpath = $Config{perlpath};

my $zoid = "| $perlpath script/zoid -o data_dirs=share -o rcfiles=../t/zoidrc";


open ZOID, $zoid; open ZOID, $zoid;


Expand Down

0 comments on commit 69396c3

Please sign in to comment.