ssh account@remote.machine.intern -c 'perl -w whatever.pl'