Author: larry
Date: Tue Dec 19 01:20:40 2006
New Revision: 13495
Modified:
doc/trunk/design/syn/S12.pod
Log:
callsame/callwith/nextsame/nextwith mentioned here too.
Modified: doc/trunk/design/syn/S12.pod
==============================================================================
--- doc/trunk/design/syn/S12.pod (original)
+++ doc/trunk/design/syn/S12.pod Tue Dec 19 01:20:40 2006
@@ -12,9 +12,9 @@
Maintainer: Larry Wall <[EMAIL PROTECTED]>
Date: 27 Oct 2004
- Last Modified: 10 Nov 2006
+ Last Modified: 19 Nov 2006
Number: 12
- Version: 33
+ Version: 34
=head1 Overview
@@ -645,12 +645,17 @@
:omit(Selector) # only classes that don't match selector
:include(Selector) # only classes that match selector
-In addition to C<next METHOD>, the special function C<call> dispatches
-to the next candidate, possibly with a new argument list:
-
- call; # calls with the original arguments
- call(); # calls with no arguments
- call(1,2,3); # calls with a different set of arguments
+In addition to C<next METHOD>, the special functions C<callsame>,
+C<callwith>, C<nextsame>, and C<nextwith> dispatch to the next
+candidate, possibly with a new argument list, and if the "next"
+variant is used, without returning:
+
+ callsame; # call with the original arguments (return here)
+ callwith(); # call with no arguments (return here)
+ callwith(1,2,3); # call with a new set of arguments (return here)
+ nextsame; # redispatch with the original arguments (no return)
+ nextwith(); # redispatch with no arguments (no return)
+ nextwith(1,2,3); # redispatch with a new set of arguments (no return)
=head1 Parallel dispatch