in reply to Re^4: Interpolate into replacement with s//?
in thread Interpolate into replacement with s//?
It doesn't matter where the string came from. Notice he changed Z$1Z (not Perl code) to "Z$1Z" (Perl code). So you'd need to either change the file or add quotes to what you read from the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Interpolate into replacement with s//?
by philkime (Beadle) on Nov 10, 2011 at 09:14 UTC | |
by ikegami (Patriarch) on Nov 14, 2011 at 19:15 UTC | |
by philkime (Beadle) on Nov 23, 2011 at 13:29 UTC | |
by ikegami (Patriarch) on Nov 23, 2011 at 17:26 UTC | |
by philkime (Beadle) on Nov 24, 2011 at 07:58 UTC | |
|