but doing that is usually a sign of a bad program design. What is the reason you need to restart? Can't you just reset the variables in the original script, and let it keep running?sub restart{ exec $0; }
In reply to Re: Restart Long Running Perl Script
by zentara
in thread Restart Long Running Perl Script
by avo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |