Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Debugging Perl scripts which use fork()by dash2 (Hermit) |
on Feb 28, 2003 at 14:49 UTC ( [id://239443]=note: print w/replies, xml ) | Need Help?? |
Ilya, Great article, really useful. I think cybear was joking btw. One thing that tripped me up when trying to send multiple processes to a series of ttys: DB::get_fork_TTY is called from the child, after the fork. So, this won't work:
because the $ttyno is in separate processes. Instead, redefine your $ttyno after the fork:
dave hj~
In Section
Meditations
|
|