in reply to Net::SSH::Perl hangs(during cmd), but only in Mason environment
From the docs, it doesn't look like the output goes anywhere by default. In an example from the distribution, the code has print $out after the call to cmd.
What does the code after the snippet you've provided look like?
In Section
Seekers of Perl Wisdom