The solution was to move all such subroutines into modules where they wouldn't get wrapped by Apache::Registry.BEGIN { my $var; sub foo { return ++$var; } }
In reply to Re: mod_perl / Apache::Registry accidental closures
by runrig
in thread mod_perl / Apache::Registry accidental closures
by imp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |