Problems? Is your data what you think it is? | |
PerlMonks |
RE: Tricks with DBIby Michalis (Pilgrim) |
on May 31, 2000 at 10:40 UTC ( [id://15590]=note: print w/replies, xml ) | Need Help?? |
Well done. Some corrections if I may. (a) bind_columns SHOULD be after execute has been called. As DBI's manual says, that's for maximum compatibility. (b) You call bind_columns with four parameters (the first one been undef) while your execute only returns three (id, name and phone). While I have never used bind_columns before execute, I beleive that should fail. My way is similar but not the same (I include just the different part):
In Section
Tutorials
|
|