~/dev/MyModule/Makefile.PL ~/dev/MyModule/lib/Local/Math/EM.pm # Local::Math::EM ~/dev/MyModule/lib/Local/Math/Levy.pm # Local::Math::Levy ~/dev/MyModule/lib/Local/Math/Log2.pm # Local::Math::Log2 ~/dev/MyModule/bin/script.pl ~/dev/MyModule/t/*.t # (optional but recommended) #### use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Local::Math', VERSION => '0.01', EXE_FILES => [ 'bin/script.pl' ], ); #### make distclean # if you've previously run "perl Makefile.PL" perl Makefile.PL make manifest make dist # will create a Local-Math-0.01.tar.gz for you!