Damian Conway wrote:

   @barĀ».foo if $baz;

That brought to mind the question that I've had for some time: how are exceptions going to work on hyper-operators?

Will they kill the hyperoperation in-progress? e.g. what will $i be:

        my $i = 0;
        class A { method inci() { die if $i++ > 5 } }
        my Array of A @aoa;
        try { @aoa>>.inci; }
        say $i;

Is it even possible to know, or is it entirely dependent on the implementation? And what do multiple, successive dies within the same try block do?

Reply via email to