From 8a6e043f6b8b2fc3217f3e8a18d3acdf9c9c1270 Mon Sep 17 00:00:00 2001 From: Brian Gernhardt Date: Thu, 26 May 2011 11:11:45 -0400 Subject: [PATCH] PDD 19: Explain :method :multi(_) I didn't expect :multi to need to add the type of the invocant. So let's add an explanation to the first place I looked for an answer. --- docs/pdds/pdd19_pir.pod | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/docs/pdds/pdd19_pir.pod b/docs/pdds/pdd19_pir.pod index b135bd2..a6d9b49 100644 --- a/docs/pdds/pdd19_pir.pod +++ b/docs/pdds/pdd19_pir.pod @@ -434,6 +434,9 @@ Engage in multiple dispatch with the listed types. See F for more information on the multiple dispatch system. +When used in combination with B<:method> (below), the first type (C) +refers to the type of the invocant (C). + =item :immediate Execute this subroutine immediately after being compiled, which is analogous -- 1.7.5.2.610.g492b33