"Larry Wall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> This is Perl 6.  Everything is an object, or at least pretends to be one.
> Everything has a .boolean method that returns 0 or 1.  All conditionals
> call the .boolean method, at least in the abstract.

My reading of A12 leads me to expect this to be defined as a coercion, using
the "as" operator, not "dot":

  $foo as boolean

What am I missing?


Dave.


Reply via email to