in reply to Eval thread and restart it.

The concept works fine:

perl -Mthreads -e"threads->create(sub{{eval{sleep rand 10;die time};$@ and print "$@" +;redo}})->join" 1271707092 at -e line 1. 1271707094 at -e line 1. 1271707100 at -e line 1. 1271707108 at -e line 1. Terminating on signal SIGINT(2)

So you're going to have to show us what you are doing that is causing the permission denied death if we are to help you.


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.
RIP an inspiration; A true Folk's Guy