in reply to die through several evals

Perl's goto is extraordinarily powerful, so you might be able to put a TOPLEVEL label somewhere in your program, then "goto TOPLEVEL" from your signal handler. Haven't tried it...
Just another Perler interested in Algol Programming.

Replies are listed 'Best First'.
Re^2: die through several evals
by nyaapa (Novice) on Apr 24, 2013 at 09:20 UTC
    nope, doesn't work because of new scope of signal handlers.
    i can use c signal handler and goto from it, but i don't have a warranty that i'm in the same scope =(
Re^2: die through several evals
by nyaapa (Novice) on Apr 24, 2013 at 09:24 UTC