diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
| commit | 8ddf2e94df70707b458528a437759b96046d3e01 (patch) | |
| tree | d442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2009-05-22-modules-i-like---module-setup.md | |
| parent | Don't need to use the IP in the makefile. (diff) | |
| download | lumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz | |
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and
styles. Added a new page for the resume.
Diffstat (limited to '')
| -rw-r--r-- | _posts/2009-05-22-modules-i-like---module-setup.md (renamed from _posts/2009-05-22-modules-i-like---module-setup.textile) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_posts/2009-05-22-modules-i-like---module-setup.textile b/_posts/2009-05-22-modules-i-like---module-setup.md index 75428b3..7ecee8e 100644 --- a/_posts/2009-05-22-modules-i-like---module-setup.textile +++ b/_posts/2009-05-22-modules-i-like---module-setup.md @@ -1,12 +1,12 @@ --- layout: post -category: perl +summary: In which I share my enthusiasm for Module::Setup. title: modules I like Module::Setup --- -"Module::Setup":http://search.cpan.org/perldoc?Module::Setup by "Yappo":http://blog.yappo.jp/ is a really nice module. I don't like "Module::Starter":http://search.cpan.org/perldoc?Module::Starter, it's not easy to create template to make it do what you need. With Module::Setup you can create flavors for any type of modules you want. Most of the modules I create for work use Moose, and I like to use Test::Class too. I've created a Moose flavor for creating this kind of modules. +[Module::Setup](http://search.cpan.org/perldoc?Module::Setup) by [Yappo](http://blog.yappo.jp/) is a really nice module. I don't like [Module::Starter](http://search.cpan.org/perldoc?Module::Starter), it's not easy to create template to make it do what you need. With Module::Setup you can create flavors for any type of modules you want. Most of the modules I create for work use Moose, and I like to use Test::Class too. I've created a Moose flavor for creating this kind of modules. -h3. Creating a Moose flavor for Module::Setup +### Creating a Moose flavor for Module::Setup First, you tell it to init a new flavor: @@ -24,7 +24,7 @@ Start by editing *$HOME/.module-setup/flavors/moose/template/lib/____var-module_ + use Moose; {% endhighlight %} -Add *requires 'Moose'* in *Makefile.PL*. Create a *t/tests/Test/____var-module_path-var____.pm* file with the following content: +Add **requires 'Moose'** in **Makefile.PL**. Create a **t/tests/Test/____var-module_path-var____.pm** file with the following content: {% highlight perl %} package Test :: [%module %]; |
