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>Error checking - ways and means</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <A HREF="sld001.htm">First</A>&nbsp;&nbsp;
         <A HREF="sld042.htm">Previous</A>&nbsp;&nbsp;
         <A HREF="sld044.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="tsld043.htm">Text</A>&nbsp;&nbsp;
     </TD> </TR>
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <IMG SRC="img043.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
     </TD> </TR>
</TABLE>
<P>Slide 43 of 102</P>
</CENTER>
<!-- <UL>
<H2>Error checking - ways and means</H2>
</UL></P>
<P><UL>
<LI><H2>Error checking the hard way...
</H2>
<UL>

<BR><BR>$h-&#062method or die "DBI method failed: $DBI::errstr";
<BR>$h-&#062method or die "DBI method failed: $DBI::errstr";
<BR>$h-&#062method or die "DBI method failed: $DBI::errstr";
<BR>
</UL></UL><UL>
<LI><H2>Error checking the smart way...
</H2>
<UL>

<BR><BR>$h-&#062{RaiseError} = 1;
<BR>$h-&#062method;
<BR>$h-&#062method;
<BR>$h-&#062method;</UL></UL></P>
<P>  -->
</Body>
</HTML>