Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Partial Zombie collection??

by hippo (Bishop)
on Aug 30, 2017 at 21:33 UTC ( [id://1198359]=note: print w/replies, xml ) Need Help??


in reply to Partial Zombie collection??

There's no definition of $socket in your code as listed so it can't be run as it stands (at least, not to a smooth conclusion).

Help us to help you:

  • Provide a Short, Self-Contained, Correct Example
  • Use strict. Always.
  • Avoid the perl4isms which exist in the code you've listed. These detract from the legibility of the code and might be the cause of problems which are less familiar these days.
  • Maybe one or two comments explaining why you have chosen the methods you have, eg: why call &POSIX::_exit(0) rather than exit 0?

A look at the rest of the Basic debugging checklist will stand you in good stead as well. Once we have a runnable code we can test there will be a better understanding of the problem on both sides.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1198359]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-19 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found