in reply to How to call a perl prg with options from within another ?

You are confusing the keywords system and require. As you seem to want to call another perl script as a program, and system requires a valid command line, you could prepend the path to perl in it. And luckily for you, the special variable $^X contains it. So, try:
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,

system $^X, 'run_gql.pl', '-h', '-p';
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:
qq("$^X")