in reply to Re: Regular expression question
in thread Regular expression question

return if !exists $allowed{$_} or $seen{$_}++ foreach split /,/, $ +s;
That won't work as you can't have stacked statement modifiers.