On Wednesday, April 10, 2002, at 06:58 , Jorge Goncalvez wrote:

> Hi, I tried to get the IP address in a Win98 machine I made a perl module 
> and I
> put it in /site/lib with .pm extension.
> it is Registry98.pm
>
> But I have this error:
> Can't call method Open of a undefined value at Registry98.pm line 22


given that line 22 in my editor is:

        $HKEY_LOCAL_MACHINE->Open($Register,$hkey)|| die $!;

what is the OBJECT '$HKEY_LOCAL_MACHINE' ??? and more
importantly, when did you do the

        $HKEY_LOCAL_MACHINE = new 'FOO::BAR' ;

which of course would have required that this 'package'
have a 'use FOO::BAR;' line in it....

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to