in reply to END blocks created at run time?
An END subroutine is executed as late as possible, that is, when the interpreter is being exited, even if it is exiting as a result of a die() function.
In your first test case (where you don't specify a file name), you seem to think that END {} was executed at compile-time. In fact, it's executing at the end of run-time, after you call the die() command. It seems straightforward to me, or am I confused about what you mean?
Update:Ah, thanks as always, tye.
buckaduck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: END blocks created at run time?
by tye (Sage) on May 08, 2001 at 20:44 UTC |