Re: New libnet-1.0704 creates error
[email protected] (Graham Barr) Mon, 22 Oct 2001 19:04:34 +0100
| Newsgroups | perl.libnet |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Oct 22, 2001 at 02:09:33PM -0400, Ron Pero wrote:
> Greetings
>
> I've just downloaded and installed libnet-1.0704.
> A script that always worked before now fails.
>
> This is the error message:
> The getpwuid function is unimplemented at
> c:\Perl\site\5.005\lib/Net/Config.pm line 47
The eval should catch that. Do you have a SIG{__DIE__} handler installed ?
> Lines 46 and 47 are:
> if ($< == $> and !$CONFIGURE) {
> my $home = eval { (getpwuid($>))[7] } || $ENV{HOME};
>
> I am running NT 4.
>
> Where does $CONFIGURE get defined?
It is set during the install of libnet, during normal usage it will
always be false
> Any thoughts on how to avoid this error, besides ditching NT 4?
:)
Graham.
>
> Thanks in advance.
>
> Ron