|
Perl 6
How to Start a Perl 6 module project: Revision 1
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. BasicsGet 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 /home/markstos/pugs/util/prove6 /home/markstos/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. |