June 2001 Making a Module Back Slide 48 Forward

Prepare for Distribution

perl Makefile.PL # optionally "perl Makefile.PL verbose"
make
make test        # optionally set TEST_VERBOSE=1
make dist

  • Makes a tarball of all the files in MANIFEST with a name like

    Sample-Module-0.01.tar.gz
     

  • The tarball can be submitted to CPAN
  • Always include version number because you can not upload the same filename again to CPAN (expect for things like README)


Copyright © 2001 R. Geoffrey Avery Back Contents Forward