Yet Another Perl 6 Operator: Boolean Operators

by Adriano Ferreira

The series "Yet Another Perl 6 Operator" is back with this brand new article


In the article on coercion operators, we got to know the prefix operator '?' which converts values into Bool::True or Bool::False. Like it happens with '~' for strings, '?' is recurrent for boolean operators.



In Perl 6, the usual infix boolean operators are:


?& - and
?| - or
?^ - xor



1 Comments

Elias Pipping
2007-12-12 13:07:31
Glad to see the series continue.