Most Highly Revered Monks,...Utmost Greetings indeed

O gorgeous ones, please help me. I have this script
#! 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;
and I get this error
The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Per +l.pm line 110.
My questions is: how do/can I get rid of this error? i.e. how do I implement the getpwuid thing?

basically what I am trying to do is :

1- Connect to a Linux Server from my windows BOX.

2- Cd to etc\mydir .

3- Read all files in that directory and capture all file that begin with the word Lic* .

4- Open the File and copy the contents to an external file.

Sounds simple, but like all simple things..its NOT! Well not for me anyway.

Now my Linux server only supports SSH by the way, So I guess I am stuck with module.

I did few searchs here for the above error but got none the wiser!

Thanks for your help ************************UPDATE************************

I tried it with Net::SSH and got the same error!

VERY SORRY, I WAS JUST BEING AN IDIOT,..PLEASE IGNORE THIS POST.......THANK YOU VERY MUCH
Blackadder

In reply to The getpwuid function is unimplemented at C:/Perl/.... by blackadder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.