class X::Syntax::UnlessElse does X::Syntax { }
Syntax error thrown when an unless
clause is followed by an else
clause.
For example
unless 1 { } else { };
dies with
===SORRY!===
"unless" does not take "else", please rewrite using "if"
See Also
class Exception
Anomalous event capable of interrupting normal control-flow
class X::Bind
Error due to binding to something that is not a variable or container
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.
This website uses cookies for analytics.
Got it!