Skip to content

Commit 3b79954

Browse files
committed
document X::Method::Private::Unqualified
1 parent 6fc732a commit 3b79954

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

lib/X/Method/Private/Unqualified.pod

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
=begin pod
2+
3+
=TITLE class X::Method::Private::Unqualified
4+
5+
class X::Method::Private::Unqualified does X::Comp { }
6+
7+
Compile time error thrown when a private method call on anything but C<self>
8+
is not fully qualified.
9+
10+
For example
11+
12+
1!priv
13+
14+
dies with
15+
16+
Private method call to priv must be fully qualified with the package containing the method
17+
18+
=head1 Methods
19+
20+
=head2 method
21+
22+
method method() returns Str:D
23+
24+
Returns the name of the private method that triggered the error.
25+
26+
=end pod

0 commit comments

Comments
 (0)