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>Bind those columns!</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <A HREF="sld001.htm">First</A>&nbsp;&nbsp;
         <A HREF="sld017.htm">Previous</A>&nbsp;&nbsp;
         <A HREF="sld019.htm">Next</A>&nbsp;&nbsp;
         <A HREF="sld102.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="tsld018.htm">Text</A>&nbsp;&nbsp;
     </TD> </TR>
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <IMG SRC="img018.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
     </TD> </TR>
</TABLE>
<P>Slide 18 of 102</P>
</CENTER>
<!-- <UL>
<H2>Bind those columns!</H2>
</UL></P>
<P><UL>
<LI><H2>Compare
</H2>
<UL>
while($row = $sth-&#062fetchrow_arrayref) {
<BR><BR>  print “$row-&#062[0]: $row-&#062[1]\n”;
<BR>}
</UL></UL><UL>
<LI><H2>
</H2>
</UL><UL>
<LI><H2>with
</H2>
<UL>
$sth-&#062bind_columns(\$key, \$value);
<BR><BR>while($sth-&#062fetchrow_arrayref) {
<BR>  print “$key: $value\n”;
<BR>}
<LI>
</UL></UL><UL>
<LI><H2>No row assignment code!
</H2>
</UL><UL>
<LI><H2>No column access code!
</H2>
</UL><UL>
<H2>      			... just magic
</H2>
</UL><UL>
<LI><H2>
</H2>
</UL></P>
<P>  -->
</Body>
</HTML>