One thing at a time all the time!

Welcome to Rocteur
Friday, April 26 2024 @ 09:05 PM CEST

How do I determine what version of the DBD module is installed?

With DBI 1.38 you can now do

perl -MDBI -e 'DBI->installed_versions'

and it'll tell you.

Tim Bunce

OR

#! /usr/bin/perl -w
# dbi-version.pl - display DBI and DBD::mysql versions
use strict;
use DBI;
print "DBI::VERSION: $DBI::VERSION\n";
use DBD::mysql;
print "DBD::mysql::VERSION: " . $DBD::mysql::VERSION . "\n";

--
Paul DuBois, MySQL Documentation Team

FAQ Manager » Perl DBI » How do I determine what version of the DBD module is installed?