# Pastebin irVcaEuO here's the whole new chunk of code: =head1 Testing intentional exits For developers of Raku packages, it is sometimes useful to provide an intentional exit of the code path for a specific condition which can be indicated by a unique, numerical exit code in the POSIX range of 1-127. Such is provided by test L|/type/Test#sub_exits-ok>. Its use is demonstrated in the following subroutine: sub apply-factor-to(Numeric $num --> Numeric) { unless $num > 1 { say "FATAL: sub 'apply-factor-to' input is $num, it must be > 1"; exit(3); } $num * 2.0; } That can be tested like this: use Test; exits-ok { my $x = apply-factor-to -2; }, 3, "got the expected signal 3 for invalid input";