Thanks for the advice, and you're right -- there are no nested sub. I thought maybe mod-perl mangled it somehow to make one.
I thought CGI stuff was made safe using Registry? What should be used in this case, instead, then?
Comment on Re^2: Apache::Registry - shared variable?