Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://42849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2025-05-18 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.