Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 having an uproarious good time at the Monastery: (5)
As of 2015-07-30 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls