On 13 Jul 2000, David Hodgkinson wrote:
> > Doesn't FastCGI have exactly the same issues with dirty code? It's an
> > honest question; I'm not just being difficult.
>
> Almost. It runs in the main package as usual so at least you won't see
> screams about "...won't stay shared..." and such.
I always hated that problem. I guess wrapping your main:: in a while loop
for FCGI.pm does avoid this, although you have to modify your script,
unlike Registry or PerlRun.
Maybe we should try to make Registry/PerlRun smarter about the way they
wrap code, so that the subs don't get nested. On the face of it it
doesn't sound impossible, although undoubtedly there are certain ways to
defined named subs in perl that would be very hard to recognize correctly.
- Perrin