Maybe you also could look at
http://www.cpan.org/misc/cpan-faq.html#How_installed_modules that has
some other explanations about finding out the installed modules and their versions.
There is also some code to be used and a brief explanation about
ExtUtils::Installed module.
Hope it help.