in reply to Perl & CGI to cause Defunct?

Ahum, If you would be so kind to post the code fragment that looks like:
while(1) { }
Otherwise it will be difficult to help ..

Seriously, can you give us some more details? Access and error log from apache, code snippets or the complete script?

Johan