in reply to Running a shell command via Perl
It may also be worth your time to peruse the QandASection: programs and processes section of Categorized Questions and Answers.
HTH,