SELECT foo FROM bar WHERE name LIKE '%ME%'; #### for (@array) { print "$_ matches\n" if $_ =~ /ME/; }