<!-- 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>
<A HREF="sld042.htm">Previous</A>
<A HREF="sld044.htm">Next</A>
<A HREF="sld102.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="dbi.perl.org">Home</A>
<A HREF="tsld043.htm">Text</A>
</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->method or die "DBI method failed: $DBI::errstr";
<BR>$h->method or die "DBI method failed: $DBI::errstr";
<BR>$h->method or die "DBI method failed: $DBI::errstr";
<BR>
</UL></UL><UL>
<LI><H2>Error checking the smart way...
</H2>
<UL>
<BR><BR>$h->{RaiseError} = 1;
<BR>$h->method;
<BR>$h->method;
<BR>$h->method;</UL></UL></P>
<P> -->
</Body>
</HTML>