Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: nite of the living dead: perl and stunnel make zombies

by Chmrr (Vicar)
on Nov 22, 2000 at 05:10 UTC ( #42849=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: nite of the living dead: perl and stunnel make zombies
in thread nite of the living dead: perl and stunnel make zombies

One method to do the latter:

use POSIX ":sys_wait_h"; SIG{CHLD} = \&REAPER; sub REAPER { 1 while (waitpid(-1,&WNOHANG) != -1); $SIG{CHLD} = \&REAPER; }
On a somewhat off-topic note, what version of the perldocs (like this one) are the ones on PerlMonks? 5.6's waitpid docs have an example of exactly this, whereas 'tis missing on PerlMonks..
perl -e 'print "Just use $^X$\"$]!$/"'


Comment on Re: Re: Re: nite of the living dead: perl and stunnel make zombies
Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re: nite of the living dead: perl and stunnel make zombies
by extremely (Priest) on Nov 22, 2000 at 06:27 UTC
    I don't think vroom has reimported the pdocs since 5.6 settled. They are eldritch. =)

    --
    $you = new YOU;
    honk() if $you->love(perl)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-07-29 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls