# Not sure about regexes? if "Perl " ~~ m:Perl5/.../ { # muahhaaa! say "TMTOWTDI"; }