Nordic Perl Workshop 2006

Module::Release

By brian d foy (‎-none-‎) from Chicago.pm
Date: Friday, 16 June 2006 11:50
Duration: 40 minutes
Language:


Creating a Perl distribution takes more than editing a couple of files. Good programmers use source control, test their distributions, package them in several ways, and upload them to a variety of places. It takes quite a bit of work to make even a simple change once you have to deal with all of these steps, or at least it did until I wrote release(1) to do it for me. Now I have a script (also in module form) that ensures my distribution is in tip-top shape, checks everything into source control before I make the distribution, and then, if the tests pass, uploads it to CPAN and Sourceforge. What used to be complex, tedious, and error-fraught is now simple, easy, and reproducible.