home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.