How To Determine Your Perl Module Version

For example, to see the version for DBD::mysql, do this: perl -MDBD::mysql -we ‘print $DBD::mysql::VERSION;’
![]() |
For example, to see the version for DBD::mysql, do this: perl -MDBD::mysql -we ‘print $DBD::mysql::VERSION;’
I was not able to get error values back properly from a raw PERL DBI connection to mysql. I finally reinstalled DBD::mysql in cpan and lo, and behold! I started getting error values in my code. I was very, very happy when it started working properly!