Menu

#75 Can't call method "STORE" issue under 5.10

open
nobody
None
5
2008-04-13
2008-04-13
jw
No

Can't call method "STORE" on an undefined value during global destruction. Happens under Perl 5.10 (activestate build 1002) and the latest version of Win32::GUI (V1.6 ppm and mingw built version).

The script below shows the issue. It's an odd script, as it's been cut down from a larger test case. Commenting out any of the lines removes the error messages - this is because it changes the order in which the Win32::GUI objects are destroyed.

=================
use Win32::GUI();
use strict;

my @rows;
for (0..250) { push @rows,'abc'; }

my $win = new Win32::GUI::Window (-name => "win");
$win->Hook(32768+3,sub {});
my $label = $win->AddLabel(-name => "abc");

#print "$win $label\n";
sub Message3 {$win->Hide();};

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.