Camelia

class X::Export::NameClash

src
    class X::Export::NameClash does X::Comp { }

 
Compile time error thrown when a symbol is exported twice. For example
    sub f() is export { };
    {
        sub f() is export { }
    }


 
dies with
    ===SORRY!===
    A symbol '&f' has already been exported

 

Methods

symbol

Returns the symbol that is exported twice.

Perl 6 Tricks and Treats newsletter

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