perl6/doc/lib/X/Method/Private/Unqualified

doc src
(title) class X::Method::Private::Unqualified
    class X::Method::Private::Unqualified does X::Comp { }

 
Compile time error thrown when a private method call on anything but self is not fully qualified. For example
    1!priv

 
dies with
    Private method call to priv must be fully qualified with the package containing the method

 

Methods

(head2) method
    method method() returns Str:D

 
Returns the name of the private method that triggered the error.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: