See Threads vs Forking (Java vs Perl) and subsequent discussion (particularly the article that KM pointed out).
And don't use threads if you care about reliability, stability, and all that. Perl's threading does...interesting things.
In reply to Re: Can I run a piece of code like child process?
by tilly
in thread Can I run a piece of code like child process?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |