Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 }


Comment on Re^5: Running a process in the background
Select or Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-09-20 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls