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;
In reply to Re^2: how to search and replace some text in a .conf file
by koti688
in thread how to search and replace some text in a .conf file
by koti688
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |