Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: call a Perl script from another Perl script, server-side, with parameters

by merlyn (Sage)
on Dec 27, 2009 at 03:45 UTC ( #814476=note: print w/replies, xml ) Need Help??


in reply to call a Perl script from another Perl script, server-side, with parameters

Yes. Don't confuse CGI with command line. If your second script expects to be called as a CGI script, do that. Or else simulate everything that the webserver does to call a script (not trivial).

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

  • Comment on Re: call a Perl script from another Perl script, server-side, with parameters

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814476]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-03-28 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (341 votes). Check out past polls.