<!-- 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="sld033.htm">Previous</A>
<A HREF="sld035.htm">Next</A>
<A HREF="sld080.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="http://dbi.perl.org">Home</A>
<A HREF="tsld034.htm">Text</A>
</TD> </TR>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<IMG SRC="img034.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
</TD> </TR>
</TABLE>
<P>Slide 34 of 80</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>