Search and replace using a variable

2001-09-13 Thread Jimson Lee
I'm using InstallShield to install a custom app at several locations. On each target machine, is a custom cfg file with unique IP addresses. InstallShield will overwrite this file during installation, but I'd like to extract these addresses and insert them into the newly installed cfg file. I wro

Re: Search and replace using a variable

2001-09-13 Thread Maxim Berlin
Hello Jimson, Thursday, September 13, 2001, Jimson Lee <[EMAIL PROTECTED]> wrote: [..] JL> Being new to perl, I know how to search for strings. I know how to JL> explicitly search and replace a string. you always can use variable instead of exact string. JL> What I don't know how to do is JL

Re: Search and replace using a variable

2001-09-13 Thread Jimson Lee
Thanks! Maxim Berlin wrote: > Hello Jimson, > > Thursday, September 13, 2001, Jimson Lee <[EMAIL PROTECTED]> wrote: > > [..] > JL> Being new to perl, I know how to search for strings. I know how to > JL> explicitly search and replace a string. > you always can use variable instead of exact stri