Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 24109
Status: rejected
Priority: 0/
Queue: Module-Starter

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

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Always create a Makefile.PL
You should create always a Makefile.PL, even if Module::Build is used. This is for compatibility reasons. Patch: diff Simple.old Simple.pm 397a398,417 Show quoted text
> =head2 create_compat_Makefile > > This will create a Makefile.PL for compatibility reasons. > > =cut > > sub create_compat_Makefile{ > my ($self) = @_; > > my $fname = File::Spec->catfile( $self->{basedir}, "Makefile.PL" ); > open( my $fh, ">", $fname ) or die "Can't create $fname: $!\n"; > > print $fh $self->compat_Makefile_guts(); > > close $fh; > $self->progress( "Created $fname" ); > > return "Makefile.PL"; > } >
433a454,473 Show quoted text
> =head2 compat_Makefile_guts > > This method is called by create_compat_Makefile and returns text used
to populate Show quoted text
> Makefile.PL; > > =cut > > sub compat_Makefile_guts{ > my ($self) = @_; > my $text = <<'MAKEFILEPL'; > #!/usr/bin/perl > > use Module::Build::Compat; > > Module::Build::Compat->run_build_pl(args => \@ARGV); > Module::Build::Compat->write_makefile(); > MAKEFILEPL > return $text; > } >
I don't understand why this would be good. Closing.