Just another Perl shrine | |
PerlMonks |
Re: Exiting a script with an 'infinitely looping' threadby BrowserUk (Patriarch) |
on Nov 24, 2008 at 14:17 UTC ( [id://725594]=note: print w/replies, xml ) | Need Help?? |
if I have a thread that never exists, what is the cleanest way to shut down the main script? Three ways
Which is more appropriate to your situation will depend upon how your app is currently coded? Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|