in reply to trap signal 'exit': why I am not able to have it work??
Of course, going to the next level, you can't switch "exit" handlers midstream, and you can't unregister END{} blocks, AFAIK. I suppose there would have to be only one END{} block, with a dynamic call table for subs, and the call table gets changed as needed during the program execution. (Maybe this is proper class material, with methods to mangle the call table.)
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: trap signal 'exit': why I am not able to have it work??
by afoken (Chancellor) on Oct 31, 2017 at 12:50 UTC | |
|
Re^2: trap signal 'exit': why I am not able to have it work??
by alex5161 (Novice) on Oct 31, 2017 at 13:25 UTC |