in reply to Why doesn't my qr// work?
Remove the quotes around the qr ...
my $pattern = qr/^(Orange|Apple|Grape|Halibut)$/ix; [download]