O'Reilly logo

Pro Perl by Peter Wainwright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 16Warnings and Errors

Wish as we might, warnings and errors are an inevitable part of the software development life cycle. Like any programming language, Perl generates warnings and errors and provides tools and mechanisms to help us identify problems and control what happens in the event that a warning or error is generated. Some warnings and errors can be issued at compile time—a common example is a syntax error. Others only occur during run time. Some may occur at either phase, depending on what Perl can figure out during compilation.

Errors are always fatal and always issued whenever they occur. We can carry out cleanup tasks if we supply an END block, but we cannot stop the error from terminating the program unless we place the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required