Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 3902
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: chris [...] clotho.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.20
Fixed in: (no value)



Subject: Installmap 'write' parameter causes problems in subclasses
I am subclassing Module::Build and have noted that $self->install_map->{read} is well-handled, but not $self->install_map->{write}. My subclass uses a custom packlist, so the 'write' pseudo-install directive matters. Here's what I see: % Build diff Can't stat write: No such file or directory at /perl/lib/site_perl/5.8.0/Module/Build/Base.pm line 1736 The following patch against v0.20 solves this specific problem, but I suspect there may be more places where 'read' and 'write' should be handled similarly. I confirmed that this is not already fixed in 0.20_02. diff -u Base.pm.orig Base.pm --- Base.pm.orig 2003-09-29 13:24:42.000000000 -0500 +++ Base.pm 2003-09-29 13:25:03.000000000 -0500 @@ -1352,6 +1352,7 @@ my $installmap = $self->install_map; delete $installmap->{read}; + delete $installmap->{write}; my $text_suffix = qr{\.(pm|pod)$};
Thanks, applied for the next release.