in reply to Re: match a word in an words' array
in thread match a word in an words' array

Hey, watch your code man! This doesn't work:
if (grep($entryVariable,@history)) {
You can't just pass a scalar as the first arg to grep() and expect it to DWYM.

-sam

UPDATE: You just changed it without an update comment. Are you trying to make me look like an ass? Don't bother, I've got that covered.

UPDATE, THE REVENGE: You have my apologies. Just trying to protect the innocent from bad code...