perlquestion
suno
say my code is :
<code>
ROUTINE#1 MVC A,B
EX R1,ROUTINE#2
.
.
.
ROUTINE#2 ST R2,VAR1
</code>
here.. when it reaches "EX R1,ROUTINE#2" ,"ST R2,VAR1" is substituted in place of ROUTINE#2. and ROUTIE#2 has to be deleted.Is it possible for me to rewrite the code using perl,so that my final code should look like,
<code>
ROUTINE#1 MVC A,B
ST R2,VAR1
.
.
.
</code>