3.2. "use warnings", Luke!

There is another pragma which is called and typed as use warnings;, that causes the interpreter to emit many warnings to the command window in case you're doing wrong things (like using undef in an expression). It is also very useful to declare it at the beginning of the program, in addition to use strict;. So, from now on, our programs will include it as well.


Written by Shlomi Fish