[EMAIL PROTECTED] writes:
> -C<< infix:<where> >>, sequential junctional and operator
> +C<< infix:<also> >>, sequential junctional and operator
> - EXPR where EXPR where EXPR ...
> + EXPR also EXPR also EXPR ...
> Can be used to construct ANDed patterns with the same semantics as
> C<< infix:<&> >>, but with left-to-right evaluation guaranteed, for use
> in guarded patterns:
> - $target ~~ MyType where .mytest1 where .mytest2
> + $target ~~ MyType also .mytest1 also .mytest2
> This is useful when later tests might throw exceptions if earlier
> tests don't pass. This cannot be guaranteed by:
All this, just to get the exceptions in the right order?
Or is it supposed to be short-circuiting, too? :-)
Okay, I actually don't recall how junctions + exceptions work, but
wouldn't it be nice if the docs for C<also> told us explicitly what
this example is supposed to achieve, and some idea of how?
Eirik, sideline sniper
"Its failings notwithstanding, there is much to be said in favor
of journalism in that by giving us the opinion of the uneducated,
it keeps us in touch with the ignorance of the community."
- Oscar Wilde