Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you look at the sample, the exec method is called on a $chan object. And if you look at the previous line:
You'll see that is create using the channel() method. Look down for the documentation on the channel method and you find:
That reference to Net::SSH2::Channel is a live link, and if you click it, you'll find: exec ( command ) Execute the command on the remote host (calls process("exec", command)). Note that the given command is parsed by the remote shell; it should be properly quoted, specially when passing data from untrusted sources. Modules by this author are better (if sometimes more tersely) documented than most. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
Suck that fhit
In reply to Re: CPAN not so comprehensive
by BrowserUk
|
|