in reply to SSH2.pm doesn't have "getpwuid" function

G'day nithins,

You haven't shown any code using getpwuid(). Are you suggesting that the error is generated from one of two lines of code you have posted?

Perl has a getpwuid function. Perhaps that's what you want? Update: Apparently not! See ++Corion's reponse below.

Please read "How do I post a question effectively?": a better question will get you better answers.

-- Ken

Replies are listed 'Best First'.
Re^2: SSH2.pm doesn't have "getpwuid" function
by Corion (Patriarch) on Nov 20, 2013 at 08:07 UTC

    On Windows, Perl does not implement getpwuid(). Most likely, that is the cause of the error. Maybe setting $ENV{HOME} or something like that can help the problem.

      "On Windows, Perl does not implement getpwuid()."

      ++ Thanks - I've updated my response.

      -- Ken