in reply to Using Net::SSH2 to read remote STDERR channel

There's an example of poll in the docs for Net::SSH2::Channel. You can find it under "sub GETC". See:

sub GETC

  • Comment on Re: Using Net::SSH2 to read remote STDERR channel