Camelia

class X::Eval::NoSuchLang

src
    class X::Eval::NoSuchLang is Exception { }

 
Error thrown when eval($str, :$lang) specifies a language that the compiler does not know how to handle. For example
    eval 'boo', lang => bar;

 
dies with
    No compiler available for language 'bar'


 

Methods

lang

    method lang()

 
Returns the language that L<&eval> did not know how to handle.

Perl 6 Tricks and Treats newsletter

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