Subject: | Uses CHECK block |
Currently Class::Closure pushes caller packages onto an array in
`import` and creates constructors in those packages at CHECK time. This
is a problem in environments like mod_perl or Plack-based apps, where
modules are loaded during the run phase.
For the time being, I fixed the problem we had with this by simply
changing the `import` routine to generate the constructor immediately
rather than pushing onto the array.
This seems to work just fine. Am I missing something?
If not, this should be fixed.