Eric Wilhelm wrote:
# from Malcolm Nooning
# on Monday 22 January 2007 08:46 am:

The second is the additional double quotes in the line shown below. Please change t/30-current_exec.t line 37 from

         system( "$PP -o \"$EXEC\" \"$test_proc\"" );
to
         system( "\"$PP\" -o \"$EXEC\" \"$test_proc\"" );

No, please don't call system in a scalar context! Make the individual atoms into a list and nothing will need to be escaped.

--Eric
Indeed, as Steffen Mueller has suggested, I will use this sort of thing from now on:

          system($PP, '-o', $EXEC, $test_proc);

Thanks

Reply via email to