Problems? Is your data what you think it is? | |
PerlMonks |
My CPAN Proxy Mirror [CPAN::CachingProxy]by jettero (Monsignor) |
on May 05, 2008 at 19:33 UTC ( [id://684733]=perlmeditation: print w/replies, xml ) | Need Help?? |
A year or so ago, I finally got fed up with selecting CPAN mirrors on my couple dozen hosts. I'm installing the same 10 or 50 modules on all these hosts over and over and it seems silly both to pull down the same modules over and over and to have to go through cutting and pasting the new url to each host every time. Wouldn't it be easier, I thought, if I could just set it to the the URL to my own mirror and use that? But I don't install modules that often and don't want to share the mirror, so it seemed rude to create an actual rsync mirror just for my tiny hosting situation. My solution was a roll-your-own Caching CGI CPAN proxy system.
I'd post it directly to the code catacombs or CPAN or something, but I'm not particularly proud of it. I think it'd be useful to others, and it certainly functions, but I'm seeking feedback on it. I'm hopeful that there'll be some insightful comments on it. (Are my module choices sane? Did someone else do this better and I just haven't found it?) UPDATE: ... or, if there's nothing at all to say about it, then this is a fine resting place for it. UPDATE: Actually, the final resting place is now here: CPAN::CachingProxy -Paul
Back to
Meditations
|
|