Thread Dynamisches Binden bei DBI
(15 answers)
Opened by renee at 2005-09-13 12:32
[quote=renee,14.09.2005, 09:30]
Code: (dl
)
$sth->bind_param(1,$var,&{"DBI::$coltype"}); With that code the script dies with the following errormessage: Code: (dl
)
Usage: SQL_LONGVARCHAR() at DbiTest line 21 Code: (dl
)
$sth->bind_param(1,$var,&{"DBI::$coltype"}()); Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |