<!-- Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
<TITLE>Attribution</TITLE>
</HEAD>
<BODY >
<CENTER>
<TABLE WIDTH=100%>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<A HREF="sld001.htm">First</A>
<A HREF="sld026.htm">Previous</A>
<A HREF="sld028.htm">Next</A>
<A HREF="sld096.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="dbi.perl.org">Home</A>
<A HREF="tsld027.htm">Text</A>
</TD> </TR>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<IMG SRC="img027.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
</TD> </TR>
</TABLE>
<P>Slide 27 of 96</P>
</CENTER>
<!-- <UL>
<H2>Attribution</H2>
</UL></P>
<P><UL>
<LI><H2>Two kinds: Handle Attributes and Method Attributes
</H2>
</UL><UL>
<LI><H2>
</H2>
</UL><UL>
<LI><H2>A DBI handle is a reference to a hash
</H2>
</UL><UL>
<LI><H2>Handle Attributes can be read or set by accessing the hash
</H2>
<UL>
$h->{AutoCommit} = 0;
<BR><BR>$autocomitting = $h->{AutoCommit};
</UL></UL><UL>
<LI><H2>Some attributes are read-only
</H2>
<UL>
$sth->{NUM_OF_FIELDS} = 42; # fatal error
<BR></UL>
</UL><UL>
<LI><H2>Many DBI methods take an attributes parameter
</H2>
<UL>
<LI>in the form of a reference to a hash of key-value pairs
</UL></UL><UL>
<LI><H2>The attributes parameter is typically used to provide hints to the driver
</H2>
<UL>
<LI>Unrecognised attributes are ignored
</UL></UL><UL>
<LI><H2>The method attributes are generally unrelated to handle attributes
</H2>
<UL>
<LI>The DBI->connect(
) method is an exception</UL></UL></P>
<P> -->
</Body>
</HTML>