Yoichi Takayama wrote:
> This code works perfectly fine and all the '?' in the field values
> themselves are not replaced as placeholders at all.
>
> So, it seems that this is the way to go. There is no need for $dbh->quote,
> either. The code is easier to read than nested double quotes case with '?'
> within $statement and making the intention confusing or the handler code
> complex???
Exactly.
And, because you don´t seem to care for error messages, how about
my $dbh = DBI->connect($dbs, undef, undef, {RaiseError => 1});
then it is even correct, to ignore possible errors, because Perl
takes care for you.
Bye,
Jochen
--
Jochen Wiedmann joe@stripped
Life has brown and green eyes. :-) +49 7123 14887