Sam's Blog entries for 2013
Setting your repository in META.yml with Module::Build
Date: Thursday, 3 January 2013, 14:49.
Categories: perl, ironman, module-authoring, module-build.
I've apparently had this blog sat in my out-bound queue since September 2010 and completely forgot to publish it. Meanwhile over on Perl 5 Maven, Gabor Szabo has raised the subject with his "How to convince Meta CPAN to show a link to the version control system of a distribution?" article.
Edit: turns out I'd left it unpublished for a reason, the sample code was actually broken. Just go and read Gabor's article instead - and thank him for testing my broken code! I've removed the broken code from the article below.
Whilst I was making some changes to Template::Sandbox
and Template::Benchmark as part of my move to using
git
and GitHub, I noticed
that there wasn't any documentation on how to set your source code
respository for the META.yml when using Module::Build.
I thought a quick how-to would be handy.