X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FNEXT%2FREADME;h=ad750bcdb47c16f19f54e0fbf20cb9ff6a7c049f;hb=c2b853aa60487b0bf60ca64ff080507e7e28c642;hp=471b2bb79698bf35167fc8d6f2af00fd6c7fe49b;hpb=55a1c97c34bea81a888ebe7db8a5607b1b7b9a39;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/NEXT/README b/lib/NEXT/README index 471b2bb..ad750bc 100644 --- a/lib/NEXT/README +++ b/lib/NEXT/README @@ -1,5 +1,5 @@ ============================================================================== - Release of version 0.02 of NEXT + Release of version 0.50 of NEXT ============================================================================== @@ -25,16 +25,15 @@ DESCRIPTION the current class -- to look for a suitable method in other ancestors of C<$self> -- whereas C<$self->SUPER::m()> cannot. - An particularly interesting use of redispatch is in + A particularly interesting use of redispatch is in C'ed methods. If such a method determines that it is not able to handle a particular call, it may choose to redispatch that call, in the hope that some other C (above it, or to its left) might do better. - Note that it is a fatal error for any method (including C) - to attempt to redispatch any method except itself. For example: - - sub D::oops { $_[0]->NEXT::other_method() } # BANG! + The module also allows you to specify that multiply inherited + methods should only be redispatched once, and what should + happen if no redispatch is possible. AUTHOR @@ -51,12 +50,22 @@ COPYRIGHT ============================================================================== -CHANGES IN VERSION 0.02 +CHANGES IN VERSION 0.50 + + + - Added a $VERSION (oops!) + + - Fixed handling of diamond patterns (thanks Paul) + + - Added NEXT::ACTUAL to require existence of next method (thanks Paul) + - Added NEXT::UNSEEN to avoid calling multiply inherited + methods twice (thanks Paul) - - Fixed setting of $AUTOLOAD in NEXT'd AUTOLOADS (thanks Leonid) + - Re-fixed setting of $AUTOLOAD in NEXT'd AUTOLOADS to be + consistent with more useful SUPER:: behaviour - - Changed licence for inclusion in core distribution + - Corified tests ==============================================================================