On Tue Jun 17 01:11:05 2008, todd_rinaldo wrote:
Show quoted text> 1. I installed strawberry perl clean in Windows XP
> 2. I ran CPAN
> 3. install File::GlobMapper
> 4. Exit cpan
> 5. go back into cpan and try to install any module:
>
> cpan> install App::Prove
> Database was generated on Tue, 17 Jun 2008 04:59:23 GMT
> Running install for module 'App::Prove'
> Running make for A/AN/ANDYA/Test-Harness-3.11.tar.gz
> Catching error: 'Can\'t call method "value" on an undefined value at
> C:\\strawberry\\perl\\site\\lib/IO/Uncompress/RawInflate.pm line 64.
> ' at C:/strawberry/perl/lib/CPAN.pm line 281
> CPAN::shell() called at C:\strawberry\perl\bin/cpan line 195
File::GlobMapper is part of IO-Compress-Base and IO-Uncompress-
RawInflate uses IO-Compress-Base.
So I'm guessing that by installing a new version of File::GlobMapper
you have installed a version of IO-Compress-Base that is incompatible
with the IO-Uncompress-RawInflate on your system.
Can you run this script to see what versions of the modules you
actually have please?
my @modules = qw(
File::GlobMapper
IO::Compress::Base
IO::Uncompress::Base
IO::Compress::RawDeflate
IO::Uncompress::RawInflate
IO::Compress::Gzip
IO::Uncompress::Gunzip
);
my $max = 0;
grep { $max = $_ if $_ > $max } map { length $_ } @modules;
for my $name (@modules)
{
printf("%-${max}s ", $name);
eval "require $name;";
if ($@ eq '')
{
my $version = ${ $name . "::VERSION" };
print "$version\n";
}
else
{
print "Not Present\n";
}
}