blackadder has asked for the wisdom of the Perl Monks concerning the following question:
and I get this error#! c:/perl/bin/perl.exe use strict; use Net::SSH::Perl; my $host = 'VM701'; my $user = 'root'; my $pass = 'thepass'; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my ($stdout, $stderr, $exit) = $ssh->cmd('ls -l'); $ssh->close;
My questions is: how do/can I get rid of this error? i.e. how do I implement the getpwuid thing?The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Per +l.pm line 110.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The getpwuid function is unimplemented at C:/Perl/....
by Joost (Canon) on May 03, 2007 at 15:04 UTC | |
| |
|
Re: The getpwuid function is unimplemented at C:/Perl/....
by Anonymous Monk on Jan 18, 2011 at 20:23 UTC |