D
David Grey
How do you call another program from within the perl script
and not loose control. When I try:
#!/usr/bin/perl
$Query_File = $ENV{QUERY_STRING};
print "Location: http://www.domain.com/cgi-bin/copyprog.pl\n\n";
it goes to domain.com and that is the last it is heard from, and
for some reason you have to put something like:
$Query_File = $ENV{QUERY_STRING};
in or all you get is an error. I am sure there is a command that
allows you to call another program from another domain then
come back and finish the job. Can you use LWP::UserAgent;
to execute a program and then have the rest of the program
finish what it is doing afterward?
and not loose control. When I try:
#!/usr/bin/perl
$Query_File = $ENV{QUERY_STRING};
print "Location: http://www.domain.com/cgi-bin/copyprog.pl\n\n";
it goes to domain.com and that is the last it is heard from, and
for some reason you have to put something like:
$Query_File = $ENV{QUERY_STRING};
in or all you get is an error. I am sure there is a command that
allows you to call another program from another domain then
come back and finish the job. Can you use LWP::UserAgent;
to execute a program and then have the rest of the program
finish what it is doing afterward?