From: merryxmas <mer...@ya...> - 2007-12-23 08:15:24
|
hello are there any plans to update win32-gui to support the new perl 5.10 -- View this message in context: http://www.nabble.com/win32-gui-and-perl-5.10-tp14476587p14476587.html Sent from the perl-win32-gui-users mailing list archive at Nabble.com. |
From: Reini U. <ru...@x-...> - 2008-01-02 17:26:47
|
merryxmas schrieb: > hello > are there any plans to update win32-gui to support the new perl 5.10 The cygwin package is already updated. Under [Experimental] so far as perl also, until all remaining perl libraries have been updated. Just a few required patches: --- perl-Win32-GUI-1.05/GUI.pm.orig 2006-11-05 20:04:50.000000000 +0000 +++ perl-Win32-GUI-1.05/GUI.pm 2007-12-25 14:35:13.546875000 +0000 @@ -421,9 +421,9 @@ my $direction = delete $options{-direction}; if(keys(%options) != 0) { - require Carp; - Carp::carp "Animate: Unrecognised options ".join(", ", keys(%options)); - return undef + eval { use Carp; }; + carp("Animate: Unrecognised options ".join(", ", keys(%options))); + return undef; } $show = 1 unless defined $show; --- perl-Win32-GUI-1.05/Makefile.PL.orig 2006-11-02 20:36:58.000000000 +0000 +++ perl-Win32-GUI-1.05/Makefile.PL 2007-12-26 17:01:29.031250000 +0000 @@ -353,6 +353,7 @@ # -- Win32::GUI resource section -- GUI.res: GUI.rc + chmod u+w GUI.rc windres -O coff -i GUI.rc -o GUI.res RC_FRAG2 --- perl-Win32-GUI-1.05/Win32-GUI-Constants/Constants.pm.orig 2006-10-31 22:21:50.000000000 +0000 +++ perl-Win32-GUI-1.05/Win32-GUI-Constants/Constants.pm 2007-12-25 14:44:45.859375000 +0000 @@ -270,8 +270,8 @@ if($oops) { # only require Carp if we need it - require Carp; - Carp::croak qq(Can't continue after import errors); + eval { use Carp; }; + croak qq(Can't continue after import errors); } } -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Jeremy W. <jez...@ho...> - 2008-01-04 14:23:38
|
Activestate are still missing key support items for 5.10 so it's probably t= o early for a formal build of Win32::GUI that supports 5.10. You should fin= d it easy enough to build your own version of Win32::GUI. What's your experience of 5.10? Do you find it faster? Does it use less mem= ory etc.? Cheers, jez. _________________________________________________________________ Who's friends with who and co-starred in what? http://www.searchgamesbox.com/celebrityseparation.shtml= |
From: Reini U. <ru...@x-...> - 2008-01-05 14:23:09
Attachments:
nok-28488-opassign.patch
|
Jeremy White schrieb: > Activestate are still missing key support items for 5.10 so it's probably to early for a >formal build of Win32::GUI that supports 5.10. You should find it easy enough to build >your own version of Win32::GUI. > > What's your experience of 5.10? Do you find it faster? Does it use less memory etc.? I've just played around a bit and have not tested it yet, nor used it in production. From the look and feel nothing changed. Class::DBIx found a bad perfomance problem with my ($a,$b) = @_; assignment at the top of a sub. I couldn't apply the patch to the release version 5.10.0 yet. I only applies to blead. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Reini U. <ru...@x-...> - 2008-01-05 22:18:44
|
2008/1/5, Reini Urban <ru...@x-...>: > Jeremy White schrieb: > > Activestate are still missing key support items for 5.10 so it's probably to early for a > >formal build of Win32::GUI that supports 5.10. You should find it easy > enough to build > >your own version of Win32::GUI. > > > > What's your experience of 5.10? Do you find it faster? Does it use less memory etc.? > > I've just played around a bit and have not tested it yet, > nor used it in production. > > From the look and feel nothing changed. > > Class::DBIx found a bad perfomance problem with my ($a,$b) = @_; > assignment at the top of a sub. I couldn't apply the patch to the > release version 5.10.0 yet. I only applies to blead. Just in case. That's the url from the p5p discussion: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-12/msg00700.html |