|
Perl 6
How to Start a Perl 6 module project: Revision 3
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.
^^ Preparations 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: .pre ln -s ~/pugs/util/prove6 ~/bin/ .pre Typical usage in a module tree is: .pre # one run test, assuming modules are in './lib' prove6 -lv t/test.t # run lots of tests prove6 -lv t/*.t .pre 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 ^^ Write your first .pm file ^^ Writing documentation ^^ Making a bundle |