OK Randal, how does this work? I put it in code and see it WORKS, but my
brains hurts trying to understand it.
> $rc = $sth->bind_columns(\@column{qw(one two three four five)});
Tom
On Wed, Mar 07, 2001 at 11:46:07PM -0800, Randal L. Schwartz wrote:
>
> This is weird, but it works:
>
> Now $column{one} is the first column, and $column{two} is the second
> column. Very cool, and much faster than the fetchrow_hashref, since
> we aren't rebuilding the hash each time... instead the fetch goes
> right into the existing scalars which were bound.
--
Thomas A. Lowery [EMAIL PROTECTED]
http://tlowery.hypermart.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
- Reusable code for binding columns. Steve Howard
- Re: Reusable code for binding columns. Stephen Clouse
- Re: Reusable code for binding columns. Randal L. Schwartz
- Re: Reusable code for binding columns. David Wheeler
- Re: Reusable code for binding columns. Thomas A . Lowery
- Re: Reusable code for binding columns. Abhijit Menon-Sen
- Re: Reusable code for binding columns. Matthew O. Persico
- RE: Reusable code for binding columns. Sterin, Ilya
- Re: Reusable code for binding col... James Maes
- RE: Reusable code for binding... Sterin, Ilya
- RE: Reusable code for binding... Steve Howard
- Re: Reusable code for bin... Abhijit Menon-Sen
- Re: Reusable code for bin... Randal L. Schwartz
- Re: Reusable code for binding col... Abhijit Menon-Sen
- Re: Reusable code for binding col... Matthew O. Persico
