books
Free Books / Computers / Practical mod_perl /

previous page: Chapter 21. Error Handling and Debugging
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 21.1.1. The Importance of Warnings

21.1. Warnings and Errors Explained




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

The Perl interpreter distinguishes between warnings and errors. Warnings are messages that the Perl interpreter prints to STDERR (or to Apache's error log under mod_perl). These messages indicate that Perl thinks there is a problem with your code, but they do not prevent the code from running. Errors are output in the same way as warnings, but the program terminates after an error. For example, errors occur if your code uses invalid syntax. If a die( ) occurs outside of any exception-handling eval, it behaves just like an error, with a message being output and program execution terminating.

For someone new to Perl programming, the warning and error messages output by Perl can be confusing and worrysome. In this section we will show you how to interpret Perl's messages, and how to track down and solve the problems that cause them.

 

Continue to:

  • prev: Chapter 21. Error Handling and Debugging
  • Table of Contents
  • next: 21.1.1. The Importance of Warnings

Books by Stas Bekman:















TOP
previous page: Chapter 21. Error Handling and Debugging
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 21.1.1. The Importance of Warnings

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com