It would not be an accidental closure, since what you have here is an intentional closure. If using Exporter breaks the closure, the right thing to do is to check the Perl changelog for bits about that and if you don't see anything, make a small example and post it first on the mod_perl list and then on perl5-porters.