15 May
2002
15 May
'02
7:51 p.m.
Whereas what I've read on the subject says it should be done like:
my $sth=$dbh->prepare("select my_field from my_table where my_criteria=?"); $sth->execute($value);
And $value gets quoted by $dbh automagically? Yes.
Or do we build $value up but quoting variables as we go? No, that's the beauty; you never have to call $dbh->quote ever again.
Code clean up is something we'd appreciate a lot.
Are you registered at sourceforge?
No, but I'm going to go figure it out. I've written Perl, and done a modest amount of DBI work with it in the last year, but I'm new to SourceForge and CVS. A new adventure :-) - Alan -- ---- Alan Millar --==> am12@bolis.com <==--