How to Start a Perl 6 module project: Revision 4
If you would like to start or work on Perl 6 module project, it's fairly easy to do, whether the module is stored without the pugs repository or not.
Get familiar with util/prove6, the basic test tool to run tests with. Put a symbolic link to it somewhere in your path so it's convenient to run, if it's not already installed there:
ln -s ~/pugs/util/prove6 ~/bin/
Typical usage in a module tree is:
# one run test, assuming modules are in './lib' prove6 -lv t/test.t # run lots of tests prove6 -lv t/*.t
If your module depends on other Perl 6 modules, you'll need to be able make sure prove6 can find them. you can set PERL6LIB in the environment to the colon seperated paths that you need for one solution.
Writing your Makefile.PL
Writing failing tests
See perldoc ext/Test/lib/Test.pm for the test functions available to you.
Write your first .pm file
Making a bundle