![]() |
|
No such thing as a small change | |
PerlMonks |
Re: mysterious fork() failureby dws (Chancellor) |
on Jan 05, 2002 at 01:11 UTC ( #136383=note: print w/replies, xml ) | Need Help?? |
You need to reverse your tests, and check for undef'ness of $pid first. For enlightenment as to why, ponder on print undef == 0 ? "true!\n" : "false\n";
In Section
Seekers of Perl Wisdom
|
|