On Fri Jun 08 11:48:04 2007, MSCHWERN wrote:
Show quoted text> As per our discussion on the dining room table when you were in PDX, the
> INIT blocks are likely not doing what you think they're doing as
> compile-time vs run-time is relevant to the module being loaded, not the
> program as a whole.
This isn't a bug report and thus is getting rejected.
If you can provide me with a very specific use-case where this is a
misfeature (preferably with a clear statement of desired behavior), I
would welcome it.
INIT does what is needed because after the module is loaded and
compiled, the INIT block verifies that the trait is applied correctly.
There's a problem in persistent environments such as mod_perl, but this
is documented and has a workaround listed.
Cheers,
Ovid