Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Run Perl script on remote server

by tmharish (Friar)
on Feb 14, 2013 at 18:03 UTC ( #1018764=note: print w/replies, xml ) Need Help??


in reply to Re: Run Perl script on remote server
in thread Run Perl script on remote server

Or run your Perl programs in a Web server, and write a PHP HTTP client for them (fopen, curl).

I did that once and it works very well - POST and GET values can be passed on as is and the testing can be done on the server with Perl while completely ignoring the one with PHP ( Server A ).

The only downsides are:

  • Cross domain scripts sometimes give the user a scary error
  • The browser will render nothing until the entire HTML is thrown out which might make page loads appear slow to the user - You cant flush STDOUT halfway to get the browser to start rendering stuff.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2017-02-19 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (292 votes). Check out past polls.