> -----Original Message-----
> From: Herbert, Mark [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2001 18:13
> To: 'Perl-Win32-Users'
> Subject: Error in cleanup in TieRegistry
> Using Perl v5.6.1 build 626, run the following 3 line program:
> #!perl -w
> use Win32::TieRegistry;
> print"Running Perl v",join('.',map(ord, split //, $^V)),"\n";
> This will produce the following:
> Running Perl v5.6.1
> (in cleanup) Can't call method "FETCH" on an
> undefined value at
> C:/Perl/site/lib/Win32/TieRegistry.pm line 1487 during global destruction.
> Does anyone have a solution, or workaround that avoids the error when
> running perl with the -w option?
> Thanks in advance for any light someone might shed on this...
Hi Mark,
Yes, Jan was responding to my report of this long-standing problem. This
problem repeats in all the cases where I use Win32::TieRegistry and the use
of lexical variables doesn't help. I am also on NTWKS4.
BTW: The workaround for your posted example is to not use Win32::TieRegistry
at all since it is not "use"d by any of the code! ;o)
Michael Erskine (MSEmtd)
mailto:[EMAIL PROTECTED]
<JAPH>
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users