<!-- Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
<TITLE>Whats new with tracing? (since the book)</TITLE>
</HEAD>
<BODY >
<CENTER>
<TABLE WIDTH=100%>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<A HREF="sld001.htm">First</A>
<A HREF="sld063.htm">Previous</A>
<A HREF="sld065.htm">Next</A>
<A HREF="sld093.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="dbi.perl.org">Home</A>
<A HREF="tsld064.htm">Text</A>
</TD> </TR>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<IMG SRC="img064.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
</TD> </TR>
</TABLE>
<P>Slide 64 of 93</P>
</CENTER>
<!-- <UL>
<H2>Whats new with tracing? (since the book)</H2>
</UL></P>
<P><UL>
<LI><H2>Tracing fetched data
</H2>
<UL>
<LI>Trace level 1 only shows return from first and last fetch() calls
<LI>Trace level 2 only shows returns from fetch() calls
<LI>Trace level 3 shows entry and return from fetch() calls
<UL>
<LI>Those changes make it easier to use lower trace levels without drowning in data
</UL><LI>Trace for fetch() calls now show the row number
<LI>
</UL></UL><UL>
<LI><H2>Trace level can be set using an attribute
</H2>
<UL>
$h->{TraceLevel}
<BR><UL>
<LI>get or set trace level of a handle
<LI>you can now use local() to set a temporary value for the current block
<UL>
local $h->{TraceLevel} = 2;
<BR></UL><LI>and you can now set the trace level via the DSN
<UL>
dbi:Driver(PrintError=1,TraceLevel=2):dbname
<BR></UL></UL></UL></UL><UL>
<H2>.</H2>
</UL></P>
<P> -->
</Body>
</HTML>