compat with rakudo's revised capture rules; other tweaks