Nice and useful module for creating and cleaning up temporary files, safely. It provides an interface to return the filename, the filehandle, or both together. Why reinvent the wheel with your own temp file names created from $$ or whatever? Just use File::Temp!
I use this pragma in almost all of the applications, like so:
use autodie qw( :all );
I wish that the behavior enforced by autodie were the default in Perl. With autodie, I do not have to think about testing every little open() and system(). Yes, you can test every $! and $?. But what if once in a while you forget to test? Or what if you inherit someone else's code? Are you sure all the tests are in place there? Regardless of that, such tests clutter the code and detract from the main purpose of the code.
Note that for system(), backticks (``) and exec() to work with autodie,
IPC::System::Simple module must be installed!
Data::Dumper is a great debugging tool! I use this module very frequently. It is part of my application template. In my editor I use a key binding with a macro to insert the diagnostic "carp...Dump" statements in the parts of code where I need it. To enable 'ctrl-c g' insert the diagnostic statements, my '~/.emacs' file has: