in reply to DBD::mysqlPP does not support TYPE and PRECISION statement handles?

Firstly, take a look at the documentation for DBI Statement Handle Attributes which discusses the types of errors you're seeing.

Next, see these for driver specific details:

As the statement handle is a hashref (DBI::st=HASH(0x370ee64)), you can write a short piece of code which will list all available attributes for you. It should look something like the following untested code and placed before your current printf statement:

for my $key (keys %$sth) { say $key, ' : ', ($sth->{$key} // 'undef'); # Use this if your Perl version < 5.10 #print $key, ' : ', (defined $sth->{$key} ? $sth->{$key} : 'undef' +), "\n"; }

-- Ken

Replies are listed 'Best First'.
Re^2: DBD::mysqlPP does not support TYPE and PRECISION statement handles?
by taioba (Acolyte) on Oct 26, 2010 at 16:28 UTC

    Thanks! I ended up finding out that DBD::mysql actually supports all those handles. Life is good again! Best wishes!