in reply to exec a CGI from within another CGI

If they are both Perl scripts, why not incorporate 2.cgi as a subroutine within 1.cgi? 2.cgi could return whatever value is appropriate (i.e. the number of files it captures), and 1.cgi could print that out.

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Replies are listed 'Best First'.
Re: Re: exec a CGI from within another CGI
by belize (Deacon) on Dec 07, 2000 at 03:20 UTC
    Thanks, exactly what I did. I had considered that, but then wanted to be able to run 2.cgi separately. Know what? I still can.

    Are thank you's worthwhile to post here? Or does it just take up space?