|Just another Perl shrine|
Re: Re: forking through a subroutineby leons (Pilgrim)
|on Apr 10, 2001 at 12:41 UTC||Need Help??|
I'm writing something similar as well at this moment which
might come in handy.
You can pass a reference to a sub and it's parameters to the
spawnChild sub, which will provide you with it's PID and
a filehandler to the child.
It's all still very basic and nothing fancy, that's because I'm
doing lots of learning and testing right now ... but it works ;-)