This should exit the program on-die, correct? It doesn't work. I get the little flashing cursor after the die message.if (my $pid = fork) { sleep 1; kill 9, $pid; die("Shplah"); } else { while (1) { print "Yay!\n"; } }
In reply to Re: Re: Forking Issue
by Anonymous Monk
in thread Forking Issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |