You are viewing the version of this documentation from Perl 5.20.3. View the latest version

CONTENTS

NAME

ExtUtils::MakeMaker::Tutorial - Writing a module with MakeMaker

SYNOPSIS

use ExtUtils::MakeMaker;

WriteMakefile(
    NAME            => 'Your::Module',
    VERSION_FROM    => 'lib/Your/Module.pm'
);

DESCRIPTION

This is a short tutorial on writing a simple module with MakeMaker. It's really not that hard.

The Mantra

MakeMaker modules are installed using this simple mantra

perl Makefile.PL
make
make test
make install

There are lots more commands and options, but the above will do it.