Generally you just arrange your modules under a
'lib' hierarchy in your distribution directory, and place
any executables into a 'bin' directory. Then, in your
MakeMaker options, use the EXE_FILES key, like:
'EXE_FILES' => [ 'bin/foo', 'bin/bar' ],
Take a look at the Template Toolkit
distribution for an example of a distribution with both
executables and library modules. | [reply] [d/l] |
The first thing to do is to make sure that all the files
that you want packaged are listed in the Manifest file.
Then you can use make to create a distro as follows:
perl Makefile.PL
make
make dist
If you have tar and gzip in your path you
will end up with a file like this: My-Package-version.tar.gz.
Also, have a look at the manpage for ExtUtils::MakeMaker, there are some other
interesting make options for distributions including the all important distcheck.
John.
--
"Language is a virus from outer space" -
William S. Burroughs
| [reply] [d/l] |