Leser: 1
![]() |
|< 1 2 >| | ![]() |
19 Einträge, 2 Seiten |
QuoteCan't get DBI::st=HASH(0x84e9644)->{ParamValues}: unrecognised attribute at ...
QuoteIf $h->{ParamValues} returns a hash reference of parameter (placeholder) values then those are formatted and appended to the end of the Statement text in the error message.
1
2
3
4
5
6
7
8
9
10
11
# ...
my $dbh = DBI->connect($data_source, $username, $auth, \%attr) or die "konnte keine Verbindung zur Datenbank aufbauen: " . DBI::errstr();
my $bereichs_sql = qq~
# ...
~;
my $sth = $dbh->prepare($bereichs_sql) or warn "Konnte prepare() nicht ausführen. " . $dbh->errstr();
$sth->execute();
print Dumper $dbh->{ParamValues};
# ...
![]() |
|< 1 2 >| | ![]() |
19 Einträge, 2 Seiten |