Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 musing on the Monastery: (7)
As of 2021-02-25 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?