Skip Menu |

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

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

Owner: Nobody in particular
Requestors: bdfoy [...]

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

Download (untitled) / with headers
text/plain 566b
The dist_dir method in Module::Build::Base reads from the properties directly rather than using the accessors for the values. I want to override dist_version without having to override dist_dir too. Index: =================================================================== --- (revision 12698) +++ (working copy) @@ -3425,7 +3425,7 @@ sub dist_dir { my ($self) = @_; - return "$self->{properties}{dist_name}-$self->{properties}{dist_version}"; + return join "-", map { $self->$_ } qw( dist_name dist_version ); } sub ppm_name {
Thanks, applied. -Ken

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to