Fetching contributors…
Cannot retrieve contributors at this time
32 lines (18 sloc) 634 Bytes
=begin pod
=TITLE class X::Method::Private::Unqualified
=SUBTITLE Compilation error due to an unqualified private method call
class X::Method::Private::Unqualified does X::Comp { }
Compile time error thrown when a private method call on anything but C<self>
is not fully qualified.
For example
=for code :skip-test<compile time error>
dies with
=for code :lang<text>
Private method call to priv must be fully qualified with the package containing the method
=head1 Methods
=head2 method method
method method(--> Str:D)
Returns the name of the private method that triggered the error.
=end pod