Consider adding error handling, as documented in Net::SSH::Any:
my @tmp = $ssh->capture('ls -lrt'); $ssh->error and die "'ls -lrt' failed: " . $ssh->error;
In reply to Re^3: [Help]Build a tool/application using Perl
by Corion
in thread [Help]Build a tool/application using Perl
by tctoa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |