I have a problem
I have some $INPUT{input1}, $INPUT{name2}, , ....$INPUT{whatver}
in a file, and I want to change them all in one line
so that every $INPUT{inputX} will have the value of $OUTPUT{inputX}
I do something like
$file =~ s/$INPUT{(.)+}/$OUTPUT{1}/g;
but it does not work?
thanks
I have some $INPUT{input1}, $INPUT{name2}, , ....$INPUT{whatver}
in a file, and I want to change them all in one line
so that every $INPUT{inputX} will have the value of $OUTPUT{inputX}
I do something like
$file =~ s/$INPUT{(.)+}/$OUTPUT{1}/g;
but it does not work?
thanks