in reply to How to check DBI module version from CPAN and how to upgrade the same from CPAN
This will print the installed version of DBI:
perl -MDBI -e 'die $DBI::VERSION'
This will install the current version from CPAN:
cpan DBI
If you are not using your own, self-compiled Perl, I recommend you use the vendor packaging system to install Perl modules instead of using CPAN. Not doing so will result in problems with binary compatibility if your vendor upgrades or downgrades module versions for compatibility reasons with their own tools.
|
|---|