https://docs.perl6.org/language/variables#index-entry-%24%2AEXIT
this should help you get to where you want to be. Someone™ can feel free to open up a ticket on the doc repository that the routine page for exit doesn't have a link to or explanation of &*EXIT. HTH - Timo