The instmodsh uses ExtUtils::Installed to get information about what modules are installed. This module uses the .packlist file in the module directory. So, to have instmodsh show the module as installed, you need to look on system1 in your @INC directories for Text/Glob/.packlist, and copy this to system2.
Main Topics
Browse All Topics





by: David_BothamPosted on 2009-11-04 at 05:57:26ID: 25739306
uayneb,
I am not an expert when it comes to building install packages and dealing with CPAN. And, it might get worse that it appears, because some module installs require some C code to be compiled, which will not happen during a copy, and might end up being a problem.
So, if I had this problem, I would go to cpan.org and download the version that I needed. And then, follow the install doc for each, which is usually:
perl Makefile.PL
make
make test
make install
So, for Text::Glob, just click on the link with the version in it, and use the dropdown on that page to select your version:
Richard Clamp > Text-Glob-0.08 > Text::Glob
click ^^^ here
I know it is not exactly what you were looking for, but, I think it might get you to the same place...
David