* Dave Rolsky ([EMAIL PROTECTED]) [01 Jun 2003 07:56]:
> I can't run the Makefile.PL successfully even with the latest
> Module::Install installed.
Not quite the latest =) I've been doing some work on the
M::I that's in p4.
Add to your Module/Install/Metadata.pm: (Or just replace
your Metadata.pm with the one in the Builder dist)
sub read
{
my $self = shift;
$self->include( 'YAML' );
require YAML;
my $data = YAML::LoadFile( 'META.yml' );
while ( my ($key, $value) = each %$data )
{
next unless $self->can( $key );
if (ref $value eq 'HASH')
{
while (my ($module, $version) = each %$value)
{
$self->$key( $module => $version );
}
}
else
{
$self->$key( $value );
}
}
return $self;
}
Sorry about that.
cheers,
--
Iain.