We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19996f3 commit 2dc3ff6Copy full SHA for 2dc3ff6
lib/X/Method/InvalidQualifier.pod
@@ -0,0 +1,34 @@
1
+=begin pod
2
+
3
+=TITLE class X::Method::InvalidQualifier
4
5
+ class X::Method::InvalidQualifier is Exception { }
6
7
+Thrown when a method is call in the form C<$invocant.TheClass::method> if
8
+<$invocant> does not conform to C<TheClass>.
9
10
+For example
11
12
+ 1.Str::split(/a/)
13
14
+dies with
15
16
+ dispatch to method split on Str because it is not inherited or done by Int
17
18
+=head1 Methods
19
20
+=head2 method
21
22
+ method method() returns Str:D
23
24
+Returns the name of the (unqualified) method.
25
26
+=head2 invocant
27
28
+Returns the invocant of the failed, qualified method call
29
30
+=head2 qualifier-type
31
32
+Returns the type by which the method call was qualified.
33
34
+=end pod
0 commit comments