title: Something like exec() to return a value in Perl?
body: <p>I am under the impression (perhaps wrongly) that the 'exec' function in Perl does not return a value  (I get the impression it just runs the command).  The situation is that a Perl script is running on a server and I need to invoke this script to run commands inside the Linux box, but also <em>return</em> the results. How can this be done?</p>