Hi, I still get the error with the latest ActivePerl release - 1002. I should have posted the actual error I see - which is:
---------------------------------------------- C:\PerlVersions\1002>wxperl_demo Modification of non-creatable hash value attempted, subscript "Wx/DemoModules/wxHVScrolledWindow.pm" at c:/PerlVersions/1002/site/lib/Wx/Demo.pm line 310. ---------------------------------------------- I've Googled for any mention of this issue and can only come up with a perl.porters thread from 2004: http://www.nntp.perl.org/group/perl.perl5.porters/2004/10/msg94876.html Assuming this issue is still handled the same in the released 5.10 as it was in 5.9.4, it appears that what is happening is that under 5.10, caching causes keys %INC to return elements of modules/files that failed during load and where any assignment using such a key will fail. But I could be putting 2 and 2 together and getting 5. To make Wx::Demo work, I simply changed line 310 to: eval { $INC{$f} = 'skip it'; }; I would guess that because I never posted the actual error message, you didn't test for it specifically? It would be odd if this issue we're limited to ActivePerl 5.10 (1002)? I may have time tomorrow to build Wx against a perl built from released 5.10 source on Win32. Regards Mark Mattia Barbon wrote: > On Sun, 25 Nov 2007 16:46:56 +0000 > Mark Dootson <[EMAIL PROTECTED]> wrote: > > Hi, > > <snip> > >> Can report everything builds fine under MinGW and seems to work as expected. >> >> Only alteration required was in Wx::Demo. > > I finally got round to installing Perl 5.10, and can't reproduce the > problem with > perl 5.10.0 final on Linux. Maybe it was fixed in Perl before release? > > Regards, > Mattia
