in reply to Unable to store the command output from Net::SSH2. Please help.
my @output; $chan->blocking(1); $chan->exec('nas_server -list'); while (<$chan>) {push @output, $_} print for @output; [download]