Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Perl script calling in another Perl script

by eXile (Priest)
on Feb 14, 2006 at 16:02 UTC ( #530151=note: print w/ replies, xml ) Need Help??

in reply to Perl script calling in another Perl script

You can use $output = `$cmd` to call one script from the other, and can print $output after that finished (don't forget to do some decent errorhandling etc.). If the script you're calling that way uses CGI you can pass the arguments you want to pass to the script as key=value pairs (see documentation).

Not sure if I like that solution, I think I'd go for 2 forms on the same page, one for paying online, one for using a member account.

Comment on Re: Perl script calling in another Perl script
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-29 15:09 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls