start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: rows Chapter 12
Databases and Perl
Next: Reference: bind_columns
 

bind_col

 $

result

 = $

st_handle


->bind_col
(
col
, 
\

variable
 
[
, 
\%attr
 
])

Binds a field of a select statement to a variable, to be updated whenever the row is fetched.

col

The column number to bind.

\variable

A reference to the variable to bind.

\%attr

Attributes to set for the statement handle.


Previous: Reference: rows Perl in a Nutshell Next: Reference: bind_columns
Reference: rows Book Index Reference: bind_columns

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.