http://www.perlmonks.org?node_id=52329


in reply to Re: How to exec in a separate thread?
in thread How to exec in a separate thread?

Just two problems with your code: $foo = 'usr/bin/bar.pl';

One, those aren't backticks. Two, you probably want a leading / in your path, there...

$foo = `/usr/bin/bar.pl`;