The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

<!--  Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->

<HTML>
<HEAD>

<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
 <TITLE>The importance of error checking</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <A HREF="sld001.htm">First</A>&nbsp;&nbsp;
         <A HREF="sld041.htm">Previous</A>&nbsp;&nbsp;
         <A HREF="sld043.htm">Next</A>&nbsp;&nbsp;
         <A HREF="sld102.htm">Last</A>&nbsp;&nbsp;
&nbsp;&nbsp;         <A HREF="index.htm">Index</A>&nbsp;&nbsp;
         <A HREF="dbi.perl.org">Home</A>&nbsp;&nbsp;
         <A HREF="tsld042.htm">Text</A>&nbsp;&nbsp;
     </TD> </TR>
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <IMG SRC="img042.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
     </TD> </TR>
</TABLE>
<P>Slide 42 of 102</P>
</CENTER>
<!-- <UL>
<H2>The importance of error checking</H2>
</UL></P>
<P><UL>
<LI><H2>Errors happen!
</H2>
<UL>
<LI>Failure happens when you don't expect errors!
<UL>
<LI>database crash / network disconnection
<LI>lack of disk space for insert or select (sort space for order by)
<LI>server math error on select (divide by zero after fetching 10,000 rows)
<LI>and maybe, just maybe, errors in your own code [Gasp!]
<LI>
</UL><LI>Beat failure by expecting errors!
<LI>
<LI>Detect errors early to limit effects
<UL>
<LI>Defensive Programming, e.g., check assumptions
<LI>Through Programming, e.g., check for errors after fetch loops
<LI>
</UL><LI>(and undefined values are your friends: always enable warnings)
</UL></UL><UL>
<H2>.</H2>
</UL></P>
<P>  -->
</Body>
</HTML>