A perl function that runs a Unix command and returns its exit status
Here's the source code for a Perl function I created this morning. The purpose of this function/method is to run a specific Unix command, and then return the Unix exit status of that command. As usual with Unix and Linux systems, a zero exit status indicates success, and a non-zero exit status indicates some type of problem.
Without any further ado, here's the source code for my Perl function: