In fact if you want some real room for foot shootage, just look at exec and exit. If someone happens to include those in the code, your END blocks don't get to run at all...
Um, exit doesn't prevent END blocks from being run. Not even die does that. Just exec and uncaught fatal signals (as noted in perlmod).
Also, BrowserUk, note that BEGIN/END are referred to as "package constructors and destructors", which supports the LIFO order for "destructors".
- tyeIn reply to Re^4: Execution order of END/CHECK vs BEGIN/INIT (exit??)
by tye
in thread Execution order of END/CHECK vs BEGIN/INIT
by belden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |