ExtUtilsMakeMaker
ExtUtils::MakeMaker is a Perl module that provides a standard way to build and install Perl modules by generating a Makefile from a simple script. It is part of the ExtUtils family and has long been the traditional tooling for CPAN distributions.
Authoring a distribution typically involves writing a Makefile.PL that uses ExtUtils::MakeMaker and calls WriteMakefile with configuration
Key features include dependency specification through PREREQ_PM, platform- and compiler-related flags via INC, LIBS, and DEFINE,
ExtUtils::MakeMaker remains widely used, particularly on CPAN, but it has competition from Module::Build and newer packaging
Example: use ExtUtils::MakeMaker; WriteMakefile( NAME => 'My::Module', VERSION => '0.01', PREREQ_PM => {'Some::Module' => '1.23'} );