in reply to How to call a perl prg with options from within another ?
system "$^X run_gql.pl -h -p";
You may want to quote the perl path, using platform native quotes, if it contains spaces (or other special characters). Alternatively,
could work too — though you still may have to quote $^X in a string, on Windows, especially on slightly older perls, for example like this:system $^X, 'run_gql.pl', '-h', '-p';
qq("$^X")
|
|---|