{ local $" = "|"; $line =~ /@{[map {quotemeta} @query]}/; } [download]
In reply to Re: regexp question by Abigail-II in thread regexp question by kidd