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

Re: PDD 2, vtables

Thread Previous | Thread Next
From:
David Mitchell
Date:
February 7, 2001 08:02
Subject:
Re: PDD 2, vtables
Message ID:
200102071602.QAA09850@tiree.fdgroup.co.uk
> >Please see my previous post on the subject. As I pointed there, implementing
> >|| and && like that breaks short-circuits.
> 
> No, it doesn't. Just because you pass in two PMCs doesn't mean that they 
> both need to be evaluated. Though the PDD does need to be clearer about how 
> that happens.

Hmmm, I can't quite how that trick works. How whould the following get
evaluated:

$opened || open(F, ...)


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