Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-10-21 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls