in reply to Re: How can I run a piece of code asyncronously in Perl?
in thread How can I run a piece of code asyncronously in Perl?

This TIMTOWTDI is probably better than the other WTDI. But I'd like to make it clear to the OP that exec() takes a list, so therefore:

exec 't1.pl', $arg1, $arg2, $arg3;

(Well, better in the sense that I cringe whenever something goes through sh -c when not absolutely necessary. It is very easy to introduce a bug that way.)