Open azawawi opened 9 years ago
The informal (not in p6 spec) module directory structure is described here: http://doc.perl6.org/language/modules
I think examples directory may be added there as informal standard - just like "logotype/". I found "examples/" to be most common:
https://github.com/retupmoca/P6-Net-AMQP/tree/master/examples https://github.com/mrhdias/perl6-Imlib2/tree/master/examples https://github.com/moritz/Math-Model/tree/master/examples https://github.com/moritz/svg-plot/tree/master/examples
Directory "eg/" also appears, but it is less common: https://github.com/tadzik/Template-Mojo/tree/master/eg
This has been discussed in http://irclog.perlgeek.de/perl6/2014-10-13#i_9503397
Basically created a feature to add snippets if the module has been installed
By default we pull from the module's github repository:
example/snippets/task1.pl example/snippets/task2.pl example/snippets/task3.pl