in reply to parsing a very large array with regexps

Use alternatives:

if (/foo|bar|baz/) { push @biff, $_; }

(Update: fixed typo)