in reply to Re^6: die through several evals
in thread die through several evals
Wow. Does your ISP charge you by the word :)
Let's see if I can expand on that a little.
You want to write a subroutine, that takes an arbitrary code reference or block -- possible supplied by a third party -- and a number of seconds, as arguments. And you want to run that code; and time it out if it runs to long.
And the issue you are trying to address is that the code might throw an error (die) within an eval block within the coderef you are given, and not re-throw the error?
Does that sum up the problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: die through several evals
by nyaapa (Novice) on Apr 30, 2013 at 09:00 UTC | |
by BrowserUk (Patriarch) on Apr 30, 2013 at 10:08 UTC |