----- Original Message ----- From: "Dima Kogan"

Hi. First off, what do you mean by "building"?

Just alluding to the 'perl Makefile.PL', 'make' and 'make test' steps.


open( $handle, '-|', qw(program argument1 argument2) ) runs the process directly

open( $handle, '| program argument1 argument2' ) runs the process via a shell

The direct method is the "list form". Generally doing it directly is preferable since it bypasses the extra overhead incurred from the shell. It also removes the requirement for the shell to split the command string into arguments, since this would be done already. The error message seems to imply that the windows perl requires the shell. Change the script to the second form above and try again, if you want to experiment. If I understand the error message correctly,
that should make it work.

The current PDL-Graphics-Gnuplot snapshot (12b0aaa) which, I take it, has been amended to cater for this Windows quirk, "builds" ok and the test suite passes.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to