in reply to Re^3: Module for transparently forking a sub?
in thread Module for transparently forking a sub?

I don't think I understand your reply, so I'm wondering if I wasn't clear.

What I meant was that if I write a module like the one I was looking for (which does with fork what you demonstrate with threads), I could use methods with the same names and calling conventions as threads (e.g., Foo->create( { context => 'list' }, \&foo ), $child->is_running(), etc.). The interface already defined for it looks nicer than what I had in mind before I read about it. Using it would also mean that someone who becomes familiar with one will have an easier time switching over to using the other one if circumstances warrant it.

Replies are listed 'Best First'.
Re^5: Module for transparently forking a sub?
by Corion (Patriarch) on Feb 13, 2009 at 22:18 UTC

      Yes! That's what I was looking for all along! Thank you!