in reply to Running local code on other machines
The easy way to do this IMO would be to have your central machine turn these subroutines into simple runnable Perl scripts, and send these over the wire in text form. Then have your remote slaves execute these scripts with the appropriate input and send back the output. Whether this is an appropriate way of doing things depends on what exactly these subroutines should do and how often they are run.
All dogma is stupid.