in reply to One-liners: Conditionals in Loops
print /(.*pattern.*)/s for @arr [download]
This would work if @arr had newlines.