removed 'syntax' fossil
utilize Perl6 'when' statement