By Michael Schwern (‎Schwern‎) from
Date: Wednesday, 23 June 2010 09:00
Duration: 20 minutes
Target audience: Any
Language: English
Tags: cpan git


gitPAN lets you answer some simple questions about CPAN projects easily. For example, "give me version X of project Y" or "what changed between versions X and Y?". Surprisingly difficult to answer with just CPAN indexes, something sort of provides, gitPAN makes easy.

Version control, and git in particular, is ideal for this. Its all about tracking versions of a project, and letting you ask questions.

gitPAN took the entire history of CPAN, every release ever, put each project into its own repository, and hosts them on Now, for example, if you want to know what changed between version 2.34 and 2.36 of XML::Parser...

git clone git://
cd XML-Parser
git diff 2.34..2.36

You'll learn a bit about the difficulties building gitPAN, handy ways to use gitPAN to make maintaining CPAN installations easier, and how gitPAN makes patching CPAN modules simpler.

Attended by: