Alberto Simões wrote:
> Hello
> 
> On 30/07/2010 21:50, Aaron Sherman wrote:
>> 2010/7/30 Alberto Simões <al...@alfarrabio.di.uminho.pt>
>>>
>>> Hello
>>>
>>> I am out of Perl 6/Parrot for some time, but trying to get back and help
>>> with Perl 6 (at least, modules).
>>>
>>> As there are already some modules available, I am wondering if anyone
>>> already prepared a module-starter-like module to bootstrap a Perl 6 module.
>>>
>> 
>> There's not a lot of complexity to it right now. This is mostly
>> because we haven't got a lot of the more esoteric module semantics in
>> place. Some general rules I'd stick to:
>> 
>> * Be explicit with 'use v6'
>> * Keep POD documentation in a separate file for now
>> * Convention seems to be leaning toward dashes in function names
>> * Convention seems to be leaning toward camel cased class names
>> * Convention seems to be leaning toward one-line-per-parameter for
>> function/method signatures that don't cleanly fit on one line
>> * Convention seems to be leaning toward a sparing use of "is export".
> 
> Those are great guidelines, already.
> 
> I was just wondering if there was already some package format to be used

So far we've avoided that.

There's a tool that can write a Makefile for you:
http://github.com/masak/ufo/

If you depend on other modules, put their distribution names into a file
called deps.proto, one per line.

Cheers,
Moritz
-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/

Reply via email to