go ahead... be a heretic | |
PerlMonks |
DBI::bind_colums throws error when element of binding hash is deleteedby atemon (Chaplain) |
on Oct 16, 2007 at 08:06 UTC ( [id://645130]=perlquestion: print w/replies, xml ) | Need Help?? |
atemon has asked for the wisdom of the Perl Monks concerning the following question: Dear monks, you may think this program a crazy one, but I think it worth to discuss. I was trying to fetch data from two different tables into separate hashes. I always use 'strict'. I use DBI's function bind_columns with the fancy syntax. The code is I get the error The line causing error is When I comment line delete $row{ 'NAME' }; everything works fine.
I wonder why it throws this error since first set of variables has NO connection with the second set, except that they use same DB handle.
Thanks in advance for the help. --VC There are three sides to any argument..... your side, my side and the right side.
Back to
Seekers of Perl Wisdom
|
|