© William "Bo" Rothwell of One Course Source, Inc. 2020
W. ". RothwellPro Perl Programminghttps://doi.org/10.1007/978-1-4842-5605-3_9

9. Debugging Tools

William “Bo” Rothwell1 
(1)
San Diego, CA, USA
 

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

Note

The -w switch is discussed in the ...

Get Pro Perl Programming: From Professional to Advanced now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.