print "yep" and last if $test eq $_ for( qw( foo bar baz ) );