http://www.perlmonks.org?node_id=11134004

stevieb has asked for the wisdom of the Perl Monks concerning the following question:

Hey there my fellow esteemed Monks!

I've been having a long-running problem that I'm finally fed up enough with to ask for help.

In my test suite for berrybrew, I perform a path substitution in a configuration file before the tests load. The specific command which is run out of a batch script looks like this:

```call perl -i.bak -ne "s/berrybrew(?!\\+test)/berrybrew\\test/; print"
+test/data/config.json