develooper Front page | perl.perl6.internals | Postings from February 2001

Re: PDD 2, vtables

Thread Previous | Thread Next
From:
Branden
Date:
February 6, 2001 05:31
Subject:
Re: PDD 2, vtables
Message ID:
OE46f3mOV9e8L25s5rQ00002edd@hotmail.com
Simon Cozens wrote:
> > > =item logical_or
> > > =item logical_and
> > > =item logical_not
> >
> > Er, why not just use get_bool?
>
> Overloading.
>

Please see my previous post on the subject. As I pointed there, implementing
|| and && like that breaks short-circuits.

- Branden


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About