Category Archives: cpan

Why HTTP::Tiny?

I've recently been collaborating with Christian Hansen on HTTP::Tiny, a minimalist, HTTP/1.1 client library for Perl. For basic web client tasks like grabbing a single page or mirroring a file, it does the job in a fraction of the code that would be needed to install LWP::UserAgent. Because it has no non-core dependencies, it is […]

Also posted in perl programming, toolchain | Tagged , | Comments closed

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-meta-spec, dzil, p5p, perl programming | Tagged , | Comments closed

local::lib for

I've got too much going on this week to do much blogging, but I'm happy to say that my experiments teaching to bootstrap local::lib look promising. During CPAN auto-configuration, when CPAN recognizes that the user doesn't have write access to the Perl library directories, my experimental offers to bootstrap local::lib after configuration is […]

Also posted in perl programming, toolchain | Tagged , | Comments closed

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 dzil, perl programming, toolchain | Tagged , | Comments closed

Bootstrapping using HTTP::Lite

One of my goals for Perl 5.14 that I've discussed with Jesse Vincent and Andreas Koenig is getting to be able to bootstrap itself in a fresh perl installation without relying on external command line tools or FTP. LWP is too big a distribution to bundle into the core, but HTTP::Lite is a focused […]

Also posted in p5p, perl programming | Tagged , , | Comments closed