X-From-Line: hv@zen.crypt.org Sun Nov 4 16:09:52 2007 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on k75.linux.bogus X-Spam-Level: X-Spam-Status: No, score=-1.2 required=6.1 tests=AWL,BAYES_50 autolearn=no version=3.2.1 X-Spam-Report: * 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% * [score: 0.5000] * -1.2 AWL AWL: From: address is in the auto white-list Received: from zen.crypt.org (upuaut.novacaster.com [217.146.123.119]) by franz.ak.mind.de (8.13.8/8.14.1/Debian-8) with ESMTP id lA4F9p7v032014 for ; Sun, 4 Nov 2007 16:09:51 +0100 Received: from zen.crypt.org (localhost.localdomain [127.0.0.1]) by zen.crypt.org (8.14.1/8.14.1) with ESMTP id lA4EKY8H025970; Sun, 4 Nov 2007 14:20:34 GMT X-Gnus-Mail-Source: directory:~/Mail/spool/ Gnus-Warning: This is a duplicate of message <200711041420.lA4EKY8H025970@zen.crypt.org> Message-Id: <200711041420.lA4EKY8H025970@zen.crypt.org> To: andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) cc: The Perl5 Porters Mailing List , hv@crypt.org, pdcawley@iterative-software.com Subject: Class-Inner (was Re: BBC(Bleadperl Breaks CPAN) Where are we now?) From: hv@crypt.org In-Reply-To: <87sl3mb1mr.fsf@k75.linux.bogus> Date: Sun, 04 Nov 2007 14:20:34 +0000 Sender: hv@zen.crypt.org X-Saved-For-King: Sun, 4 Nov 2007 16:10:30 +0100 X-Filter: mailagent [version 3.0 PL73] for andreas.koenig@anima.de Lines: 67 Xref: k75.linux.bogus perl5-porters:134042 andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) wrote: :After 45 BBC articles and 5.10 waiting around the corner I wanted to :get an overview about the open issues. So I made the table below, [...] : Unsolved (20): : -------------- : PDCAWLEY/Class-Inner-0.1.tar.gz http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-07/msg00499.html I suggest the patch below to Class::Inner to complete the DESTROY cleanup as I think the module intends. Hugo --- Inner.pm.old 2001-08-12 13:50:47.000000000 +0100 +++ Inner.pm 2007-11-04 14:12:07.000000000 +0000 @@ -2,7 +2,7 @@ use vars qw/$VERSION/; -$VERSION = 0.1; +$VERSION = 0.2; use strict; @@ -149,6 +149,7 @@ sub clean_symbol_table { my $class = shift; no strict 'refs'; + @{"$class\::ISA"} = (); # ensure caches are tidied even on 5.10+ foreach my $symbol (keys %{"$class\::"}) { delete ${"$class\::"}{$symbol}; } --- Changes.old 2001-08-12 13:54:03.000000000 +0100 +++ Changes 2007-11-04 14:10:31.000000000 +0000 @@ -1,3 +1,9 @@ +2007-11-04 Piers Cawley + + v0.2 - changes in ISA/method caching for perl-5.10 require that @ISA + be explicitly cleared before removal from the symbol table to leave + the caches in a clean state. (Hugo van der Sanden ) + 2001-08-12 Piers Cawley * Initial release. Everthing working as documented, I think. Now --- README.old 2001-08-12 14:05:02.000000000 +0100 +++ README 2007-11-04 14:11:10.000000000 +0000 @@ -1,16 +1,16 @@ INSTALLATION Just perform the usual incantation: - gunzip Class-Inner-0.1.tar.gz - tar -xvf Class-Inner-0.1.tar - cd Class-Inner-0.1 + gunzip Class-Inner-0.2.tar.gz + tar -xvf Class-Inner-0.2.tar + cd Class-Inner-0.2 perl Makefile.PL make make test make install AUTHOR - Copyright (c) 2001 Piers Cawley, . + Copyright (c) 2001, 2007 Piers Cawley, . All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as