in reply to cpan modules not installing
Hi desertcrocodile,
Use ExtUtils::Installed module to find the list of modules installed in your system.
#!/usr/bin/perl -w use ExtUtils::Installed; my $inst = ExtUtils::Installed->new(); my @modules = $inst->modules(); foreach $module (@modules){ print $module . "\n"; }
Even if this program does not return the module you are looking for, then do direct find command with the module name as find / -iname 'module.pm', it will do a file search.
Update:If you find the path to your perl module add that path into @INC array.
|
|---|