in reply to Using exit
exit will cause the process to stop running. To restart it and pick up at another location, you'd have to save some sort of data before exiting that would tell you where to pick up, then load and use that data to conditionally execute code on restart. This doesn't sound like a good design to me. Are you sure you don't want to just sleep for 3 seconds, then continue on?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using exit
by Anonymous Monk on Dec 30, 2004 at 16:41 UTC | |
by geektron (Curate) on Dec 30, 2004 at 16:47 UTC | |
by revdiablo (Prior) on Dec 30, 2004 at 19:07 UTC | |
by eieio (Pilgrim) on Dec 30, 2004 at 16:48 UTC | |
by Anonymous Monk on Dec 30, 2004 at 16:52 UTC | |
by eieio (Pilgrim) on Dec 30, 2004 at 16:59 UTC | |
by geektron (Curate) on Dec 30, 2004 at 16:59 UTC |
In Section
Seekers of Perl Wisdom