then wrap the code for each step in separate subs.for my $todo ($already_done .. $final_step){ do_step1() if $todo == 1; do_step2() if (-e step_1_done);
Now you can manually delete a "step-file" to have the job start from scratch, or at some spesific step, if you ever need that.
In reply to Re^3: Application Design Issue
by stiller
in thread Application Design Issue
by perlCrazy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |