Welcome to the Monastery | |
PerlMonks |
Re: fork - child executes code outside of blockby hippo (Bishop) |
on Mar 28, 2018 at 14:13 UTC ( [id://1211916]=note: print w/replies, xml ) | Need Help?? |
Your assertion (assumption?) that the child should not be able to execute that print line is false. Why should it not when it is outside the entire "if" block?
In Section
Seekers of Perl Wisdom
|
|