in reply to Process of files via rsh

If you have a linux shell:

scp yourscript.pl user@server.domain.com:/tmp && \ ssh -t user@server.domain.com 'perl /tmp/yourscript.pl'

If you set up ssh keys you can do this without a password and run it from cron or other automated process if you like.