autodie is a Perl pragma that changes the behaviour of many built-in functions so that exceptions are thrown on failure rather than simply returning a false value. It understands lexical scope, meaning functions and subroutines altered with this module will only have this behaviour until the end of the enclosing eval, file or block, so it is useful when some code is out of your control. . By throwing exceptions on failure rather than simply returning false, programs are more robust and problems are easier to troubleshoot. . This module can also use IPC::System::Simple (see libipc-system-simple-perl) to do all the heavy lifting.