in reply to Re^3: Reg exps?
in thread Reg exps?

You would have to escape $_ as it may contain regexp special characters. It also assumes "words" are delimited by whitespace and by \b at the same time - your program fails to find a match if $my_name=$db_name="Acidovorax sp. JS42" for instance.

Replies are listed 'Best First'.
Re^5: Reg exps?
by fod (Friar) on Jan 14, 2010 at 22:31 UTC
    Ouch! I guess I should learn to program before I start (mis)representing myself as someone who knows what he's talking about. I've updated the post with what I think might possibly work. Thanks for the heads up.