Extracting information back out of a DBH

peter@dragonstaff.com peter at dragonstaff.com
Mon Feb 9 22:24:03 GMT 2009


Quoting Simon Wistow <simon at thegestalt.org>:

> 2) Is there any way to get that information out of a dbh

use DBI;
my $dbh = DBI->connect('dbi:mysql:dbname', 'user', 'pass');
print Dumper( tied(%$dbh) );

Regards, Peter
http://perl.dragonstaff.co.uk




More information about the london.pm mailing list