What about this? given @foo { for $_ -> $x { ... } when .empty { ... } }
You can reverse the order if you want: given @foo { when .empty { ... } for $_ -> $x { ... } } I don't like C<$_>, but I can't think of a way to get rid of it. -- Daniel Brockman <[EMAIL PROTECTED]>