in reply to mod_perl and lazy zombies

Yes, that's the correct behavior for mod_perl. The RPC filehandle is a global, and global variables are persistant. Sometimes, you might want your files to stay open (e.g. persistant database connections). Other times, it's a good idea to use localized filehandles with a gensym or some other trick, so they don't get left open.
use Symbol; my $rpc = gensym(); open $rpc, ...

Replies are listed 'Best First'.
Re: Re: mod_perl and lazy zombies
by Odud (Pilgrim) on Jun 07, 2001 at 19:12 UTC
    Good point - of course the filehandles will be global, but I hadn't spotted that until you pointed it out.