in reply to Re: Substitution Problem
in thread Substitution Problem

Bingo. It was a problem with the word list file. When I did a more thorough examination, I didn't have the "\" in the search term. Adding them made the search work correctly. It was a very vexing problem, as I could see no reason that it should parse differently. Thank you for the assistance. Status: Resolved.

Replies are listed 'Best First'.
Re^3: Substitution Problem
by ikegami (Patriarch) on Mar 25, 2009 at 20:03 UTC
    If the search term are to be taken literally, change
    s/($WORD)/...
    to
    s/(\Q$WORD\E)/...