System - run a system command and check the result
use System "command, verbose, errors"; sys qw(ls -al);
The sys function runs a system command, checks result, and comments on it.
To install System, simply copy and paste either of the commands in to your terminal
perl -MCPAN -e shell
For more information on module installation please visit the detailed CPAN module installation guide.