There's more than one way to do things | |
PerlMonks |
Re^2: Is fork() my answer to using dual-cpu?by bluto (Curate) |
on Oct 25, 2005 at 19:12 UTC ( [id://502844]=note: print w/replies, xml ) | Need Help?? |
You'll want that exec to be something like...
...since otherwise the parent will exec as well. FWIW, when I use fork() most of the time I write it in the following "template", comments and all ...
... and then fill in the code later. That way it's harder for me to mess it up. :-)
In Section
Seekers of Perl Wisdom
|
|