in reply to Net::SSH Update: Net::SSH::Perl

It installed flawlessly on my Perl6/Mandrake7.2 Intel box, and seems to work fine, good job!

You should just state in the documentation that the cmd method returns a list ($stdout, $stderr, $exit), I thought you had to use methods on the ssh object to get them and I had to go back to the source to figure out the actual behaviour.

Replies are listed 'Best First'.
Re: Re: Net::SSH Update: Net::SSH::Perl
by btrott (Parson) on Feb 21, 2001 at 21:17 UTC
    Wonderful news about the install, thanks. :)

    And also thanks about the tip for the docs. Actually the docs are what I need to improve next. The cmd method will probably undergo some changes to make it more extensible; since that contains the main client loop, odds are users may want to do more than just grab the stdout/stderr/exit status from the command. It'll be backwards-compatible, of course, but in future versions you'll be able to register handlers for different packet types as they arrive from sshd.