in reply to Re: how to search and replace some text in a .conf file
in thread how to search and replace some text in a .conf file
Still not getting the correct result. :($input = "svs.conf"; open IN, "+> $input" or die "Unable to open $input for writing, $!,sto +pped"; while ( <IN> ) { s/remote_be_address/192.168.106.60/g; } close IN;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to search and replace some text in a .conf file
by GrandFather (Saint) on May 18, 2009 at 21:13 UTC | |
|
Re^3: how to search and replace some text in a .conf file
by Corion (Patriarch) on May 18, 2009 at 18:39 UTC | |
|
Re^3: how to search and replace some text in a .conf file
by punch_card_don (Curate) on May 18, 2009 at 18:45 UTC |