Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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.


Comment on Re^2: Run Perl script on remote server

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-07-23 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls