in reply to Restart Long Running Perl Script
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Restart Long Running Perl Script
by avo (Pilgrim) on Feb 13, 2006 at 13:18 UTC | |
by BrowserUk (Patriarch) on Feb 13, 2006 at 13:41 UTC | |
by zentara (Cardinal) on Feb 13, 2006 at 13:22 UTC |