Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
choroba waves is
[choroba]: 'Tyrol' =~ tr/Ty o/Pe/rd
choroba hates the CB and its space insertion
Eily wondered if the space was there for a reason
[Eily]: like "Replace the T, replace the y, skip one, replace the o"
[Discipulus]: it works anyway, good morning choroba

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-07-24 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.