in reply to Re: Want to get regexp list from file
in thread Want to get regexp list from file

for my $re (@re) { print if m!re! }

I guess you're missing a dollar sign before re.