ExtUtils::Installed provides a standard way to find out what core and module files have been installed.