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>Attribution</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <A HREF="sld001.htm">First</A>&nbsp;&nbsp;
         <A HREF="sld026.htm">Previous</A>&nbsp;&nbsp;
         <A HREF="sld028.htm">Next</A>&nbsp;&nbsp;
         <A HREF="sld096.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="tsld027.htm">Text</A>&nbsp;&nbsp;
     </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-&#062{AutoCommit} = 0;
<BR><BR>$autocomitting = $h-&#062{AutoCommit};
</UL></UL><UL>
<LI><H2>Some attributes are read-only
</H2>
<UL>
$sth-&#062{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-&#062connect(…) method is an exception</UL></UL></P>
<P>  -->
</Body>
</HTML>