in reply to Can't match negated words.

[^throw] matches a single character other than t, h, r, o or w. I don't think this is what you mean.

You are better off using !~, as regexp matching is positive matching rather than negative matching.

--
I'm Not Just Another Perl Hacker