http://www.perlmonks.org?node_id=1018814


in reply to Run Perl script on remote server

Set up server-A as a "FastCGI" host that is communicated-with by server-B using "mod_fastcgi" or its equivalent on Apache. "B" doesn't have to be generally accessible; only accessible to "A."