|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Malcolm wrote:
my $hash = {'some'=>'data'};
my $quoted = $dbh->quote($hash->{'some'});
at which point $quoted is undefined.
I suggest 1, 2, or 3 things:
1. Use Data::Dumper;
print Dumper($hash);
2. Not a suggestion, but did you know that DBI
auto-quotes bound in variables?
3. sprinkle debug print statements in the DBI
source. The quote method is only a few lines long...
Phil
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|