Bart Lateur <[EMAIL PROTECTED]> writes:
> OK, how about this idea then. && and || still work as they did, but you
> provide a callback method (say, TRUTH or BOOLEAN) that says whether this
> particular object is true or false. So:
You don't take into account using && and || to build trees for later
evaluation, which is probably the most frequent *valid* use of these
techniques. This is what I use them for in Tangram. Have you actually
read my RFC?
Just because there'll be people who will misuse the feature doesn't
mean that Perl should not have it.
Also, as I point out, it *is* possible to support short-circuiting for
user-defined logical junctions.
--
Jean-Louis Leroy
http://users.skynet.be/jll