A fundamental part of programming is debugging code. This includes not only your own code but often code written by other people. You might be sent some code to debug by a fellow programmer, or download one of the thousands of modules from cpan.org (one which, unfortunately, doesn’t work quite as expected).
Fortunately, Perl has a variety of tools to help you debug code. This chapter focuses on many of these tools, including the "warnings" feature, reading diagnostic codes, and the Perl debugger.
Review: The -w switch
The -w switch is discussed in the ...