Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Running a process in the background

by Joost (Canon)
on Nov 23, 2004 at 23:43 UTC ( #410020=note: print w/replies, xml ) Need Help??


in reply to Re^4: Running a process in the background
in thread Running a process in the background

undef == 0 - use defined instead:
if (my $pid = fork) { ## Parent } elsif (defined $pid) { ## Child } else { ## Error, $pid is undefined }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410020]
help
Chatterbox?
and the pool shimmers...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2016-12-04 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.