July 2001 h2xs has eXceeded its Stay Back Slide 4 Forward

Makefile.PL

What we get
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'	=> 'Sample::Module',
    'VERSION_FROM' => 'Module.pm', # finds $VERSION
);
What we are missing
    AUTHOR   => 'your name (and email address)',
    ABSTRACT => 'a short description',

  • Used to make the makefile
  • VERSION_FROM: look in the module for the version number
  • Now common to include an AUTHOR and ABSTRACT
  • ABSTRACT: Will appear in lists of new CPAN modules


Copyright © 2001 GlaxoSmithKline Back Contents Forward