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

People
Owner: Nobody in particular
Requestors: bdfoy [...] cpan.org
Cc:
AdminCc:

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: Base.pm =================================================================== --- Base.pm (revision 12698) +++ Base.pm (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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.