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


in reply to Re: executing perl command from a perl file
in thread executing perl command from a perl file

See qx, exec doesn't return.

Sorry, but I don't think this is good advice. Even if it were necessary to run an external perl, which it practically never is except maybe in a test suite, qx has quite a few caveats.