Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-06-30 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.