On Tue, Feb 19, 2002 at 04:48:13PM -0300, Luiz Fernando B. Ribeiro wrote:
> I'm having trouble with the common technique (alarm eval{}) to avoid
> blocking operations. The die message is always going to the browser
> even when trapped by the eval block.
>
> eval {
try adding:
local $SIG{__DIE__} = undef;
> local $SIG{ALRM} = sub {die};
> alarm 3;
> open(FIFO,">$fifo");
> alarm 0;
> };
>
> The alarm is being called and the debug message is print but in the
> browser I get the embperl message about the die:
>
> [1485]ERR: 24: Line 104: Error in Perl code: Died at ...
>
> Any clues or wokarounds?
i'm just guessing here - i haven't done even the smallest amount of
experimentation.
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]