Proc::FastSpawn test failure

Darin McBride darin.mcbride at shaw.ca
Fri Nov 22 17:13:41 CET 2013


I'm getting this error:

t/02_inherit.t .. 1/6 Use of uninitialized value $grw in string eq at 
t/02_inherit.t line 32.

I believe that's because of this line:

my $pid = spawn $Config{perlpath}, [

The problem is that this doesn't work when using a relocatable perl if it's 
not located where it's compiled against.  Unfortunately, $^X works better 
then.

Perhaps something like this:

my $perl = -x $Config{perlpath} ? $Config{perlpath} : $^X;
my $pid = spawn $perl, [

would suffice?  With that change, it works here.

(Next is to test on AIX :D )

Thanks,



More information about the anyevent mailing list