I have a script on a remote server that creates a list of all
directories on the server that end in a dash. I need that list on my laptop.
Is it possible to get the result into a variable in my local script by
triggering the remote script via ssh? I've tried this:
$list = system('ssh
you can use backtick to store the output.
$list = `ssh usern...@domain.com '/usr/bin/perl /cgi-bin/dir-list.pl'`;
Regards,
Heince
On Thu, Nov 9, 2017 at 7:15 AM, SSC_perl wrote:
> I have a script on a remote server that creates a list of all
> directories on the server that end in a das