Stas Bekman wrote: > I'm working on various END block issues. One of the problems is that at > the moment any END blocks encountered during the perl-script response > handler (.e.g when a module gets loaded for the first time) are simply > dropped on the floor. The only END blocks that are run, are those from > registry handlers, which don't have a package declaration. > > I'm thinking that the right solution is to move them to PL_endav so that > they will be executed when the interpreter exits.
this sounds right. I would expect BEGIN blocks to execute when the module is loaded in an interpreter and END block when the interpreter is torn down, giving a balance that corresponds to the command line invocation of the interpreter. --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
