While this isn't a direct answer to do vs prepare vs {...}. I was investigating a Perl module written by Jenda for a project I'm working on, and happened upon another Module by Jenda (DBIx::Declare). It seemed to provide a pretty nice interface to dealings with databases, and may even help you in your current, or future dealings. But, in any event, the author's POD seemed to infer prepare, as the method. So maybe this is the correct procedure, in the case you're working with now. Or maybe the authors module would make your current case easier.
Best wishes.
--Chris
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
In reply to Re: Can not get the same output from $dbh->do and $dbh->prepare
by taint
in thread Can not get the same output from $dbh->do and $dbh->prepare
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |