Welcome to the Monastery | |
PerlMonks |
Re^3: Net::SSH2 related queryby keszler (Priest) |
on Nov 20, 2013 at 14:33 UTC ( [id://1063536]=note: print w/replies, xml ) | Need Help?? |
In print $chan "ls\n";, $chan is like a filehandle (open FH, '>', 'file.txt'; print FH "something\n";). The print command sends the characters over the SSH connection to the shell on the other end.
In Section
Seekers of Perl Wisdom
|
|