B
bogdan_czyz
Hi,
I'm trying to write a script that has a sort of "re-run itself"
procedure. I'm trying to figure out how to put that sort of code within
a script. For example:
## Begining of the script
&Startup;
.....
&sub1;
if ( &sub3($param) =~ /good/ ){
&sub2;
}else{
&sub_emerg;
&rerun_everything;
}
.....
&sub4;
## End of the script
What would the best approach be to make script to re-run (run
everything from &Startup) from within rerun_everything sub?
Thanks in advance for any suggestions,
Bogdan
I'm trying to write a script that has a sort of "re-run itself"
procedure. I'm trying to figure out how to put that sort of code within
a script. For example:
## Begining of the script
&Startup;
.....
&sub1;
if ( &sub3($param) =~ /good/ ){
&sub2;
}else{
&sub_emerg;
&rerun_everything;
}
.....
&sub4;
## End of the script
What would the best approach be to make script to re-run (run
everything from &Startup) from within rerun_everything sub?
Thanks in advance for any suggestions,
Bogdan