hi,
i'm having a problem a problem where i'm trying to call a perl cgi script from another perl cgi script and i want to pass in parameters with the call.
i've something very similar which works: if i have a html link with "<a href..." then in this link i can pass in parameters in the manner: "myscript.cgi?name=value" and i'm able to read 'name' in myscript.cgi.
however, problem occurs when i cannot have a link because i don't want the user to click on anything and basically, at a certain point in my perl cgi script i want to transfer control over to another perl cgi script. so to do this, i am using the system command in the manner:
Code:
system("/usr/bin/perl myscript.cgi?name=value"
this causes a HTTP 500 error on the browser. i've tried to look up examples on how to do this but i'm still kind of at a loss on understanding how to do this. any guidance will be infinitely helpful. thanks!