Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: forking efficiencyby setantae (Scribe) |
on Jan 14, 2001 at 04:41 UTC ( [id://51663]=note: print w/replies, xml ) | Need Help?? |
It's possible that I'm missing something here, but I can't see why you would need to fork at all. After you've outputted your redirect then closing STDOUT should allow the web server to consider the output for the client finished and return the result to the browser, so after that your script can carry on and do whatever needs to be done in the background. At least, this works on my machine here. setantae@eidosnet.co.uk|setantae|www.setantae.uklinux.net
In Section
Seekers of Perl Wisdom
|
|