Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Invoking a cgi script from another cgi script using system()

by Anonymous Monk
on Jan 02, 2015 at 04:31 UTC ( #1111951=note: print w/replies, xml ) Need Help??


in reply to Re^2: Invoking a cgi script from another cgi script using system()
in thread Invoking a cgi script from another cgi script using system()

You could also write like this because webservers won't put stuff into @ARGV
my $query = @ARGV ? CGI->new({ @ARGV }) : CGI->new;

Invoke as

system $^X, 'foo.cgi', qw/ key value key value /;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1111951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2021-10-24 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?