miyagawa/cpanminus — pull request #183 by kentfredric (2013-01-01 12:46:55+00:00)
Title: Optional: Consider using File::Fetch for HTTP code

* File::Fetch is fatpackable
* File::Fetch supports more backends
* File::Fetch is available already on most perls, and makes fatpacking not completely nessecary

This code sample is probably not incredibly useful to you, and what you already do is probably fine for you.

However, in the off chance you hadn't seen/considered using File::Fetch to do the legwork of backend HTTP, here is an example that is a workable compatible option.