Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 surveying the Monastery: (10)
As of 2014-10-02 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (52 votes), past polls