in reply to
Removing files from remote server
You can't pass
ssh
the name of a Perl subroutine from your script and expect it to be executed on the remote machine. It just doesn't work that way!
ssh
can only run commands and shell statements.
Comment on
Re: Removing files from remote server
Select
or
Download
Code
In Section
Seekers of Perl Wisdom