Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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
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 examining the Monastery: (7)
As of 2020-10-28 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (259 votes). Check out past polls.

    Notices?