Category Archives: dzil

OS-specific prerequisites with Dist::Zilla

One of my long-standing annoyances with Dist::Zilla was that it didn't have means for doing OS-specific prerequisites. I had put off converting some distributions to Dist::Zilla because of that, but finally got off my duff and wrote Dist::Zilla::Plugin::OSPrereqs to do what I want. It works like this in your dist.ini: That puts a conditional clause [...]

Also posted in perl programming | Tagged , | 1 Comment

Creating a YAML::Tiny doppelgaenger

Recently, I needed to clone a distribution on CPAN and release it under a new name. I also need to keep it in sync with the original distribution. Rather than do any of that by hand, I decided to whip up a Dist::Zilla plugin (two, actually) to do the job for me. The background for [...]

Also posted in cpan, cpan-meta-spec, p5p, perl programming | Tagged , | 1 Comment

What tools should you use to create a CPAN distribution?

Recently, I answered a question on the module-authors mailing list about the best tool for building a CPAN distribution. Whole generations of tools have come and gone since I first read Writing Perl Modules for CPAN and the state of the art slash best practices slash fads have changed. Since I first released a distribution [...]

Also posted in cpan, perl programming, toolchain | Tagged , | Leave a comment

Automatic version numbering with git and Dist::Zilla

I love Dist::Zilla (dzil) because it automates so many of the busy-work tasks of releasing a new CPAN distribution. With dzil, when I release a distribution, dzil checks the last git release tag, bumps it up using Version::Next and uses that as the new version number for the release. It's beautifully lazy. I originally wrote [...]

Also posted in perl programming | Tagged , | Leave a comment

Creating new distributions with Dist::Zilla

You may already know that Dist::Zilla can create new boilerplate Perl distributions, just like Module::Starter (and other boilerplate generators). If you've ever tried this, you've seen that the built-in boilerplate is very, very minimal and you probably want to know how to customize it to fit your dzil style. I wrote up the tutorial below [...]

Also posted in perl programming | Tagged , | 6 Comments

© 2009-2012 David Golden All Rights Reserved