Just another Perl shrine | |
PerlMonks |
using defined on forkby Anonymous Monk |
on Dec 13, 2014 at 08:31 UTC ( [id://1110261]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I don't understand this following code:
when using fork,the fork function returns pid, which is non-zero number and true value. I don't know why I should use defined function in here. But without defined, this code just immediately die
Back to
Seekers of Perl Wisdom
|
|