Tag Archives: ironman

No more copy and paste: How to refactor tests with roles

Raise your hand if you've ever cut and paste a huge chunk of code — or even a whole file — for testing. I have. And I feel guilty, because I know the DRY mantra: "Don't repeat yourself!" But somehow, rules we follow for our application code, we forget for our test code. Here's a [...]

Posted in perl programming | Also tagged , , | 10 Responses

Stop Pod tests before they stop you!

Have you ever installed a CPAN module with a big dependency chain and had installation fail somewhere in the middle? Have you ever investigated and found the failure was due to Test::Pod or Test::Pod::Coverage? AAARRRGGGHHH! I hate that! Pod tests are release tests and shouldn't be inflicted on end users. But some authors got hooked [...]

Posted in hacks, perl programming | Also tagged , , , | 7 Responses

HTTP::Tiny now with cookies

In early March, the NY Perl Mongers hosted the first NY.pm hackathon in a space generously provided by the Rubenstein Technology Group. One of the projects I was pleased to see completed was adding cookie jar support to HTTP::Tiny. A few weeks prior, I had released HTTP::CookieJar in preparation. At the event, Edward Zborowski from [...]

Posted in perl programming | Also tagged , , , | 2 Responses

CPAN is for experimentation and I hope that never changes

This post is a response to Neil Bower's post Don't release experiments to CPAN. Neil, respectfully, I disagree. The huge success of CPAN is, I think, in large part because it encouraged experimentation and alternatives. Suggesting people upload elsewhere (Github) and have module installers use that just creates barriers to participation and barriers to participation [...]

Posted in cpan, perl programming | Also tagged , , | 12 Responses

How to move CPAN RT tickets to Github

Most of my new CPAN modules use Github for issue tracking because of the nice integration with pull requests. I recently wanted to migrate an older distribution to using Github, but didn't want to track tickets in two places. A while ago, Yanick Champoux wrote Bandying tickets from RT to Github, which looked like exactly [...]

Posted in git, perl programming | Also tagged , , , | 6 Responses

© 2009-2013 David Golden All Rights Reserved