Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Calling subroutine with exec() in .cgi script

by brian_d_foy (Abbot)
on Jan 19, 2006 at 03:19 UTC ( [id://524112]=note: print w/replies, xml ) Need Help??


in reply to Calling subroutine with exec() in .cgi script

What are you trying to do? One CGI script calling another through an exec() is pretty odd.

Is this something that you can do with an internal redirect? The first script outputs a redirection header with a relative path. The server picks that up and handles the rest for you and it only looks like one request to the client.

use CGI; my $cgi = CGI->new; $cgi->redirect( "/filename.cgi?action=task1" );
--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-28 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found