I'm writing a build/test/installation script for the application we develop and maintain. As a part of this script, I would like to install a considerable number of CPAN modules, and I cannot count on an internet connection. In fact, we would like to not download automatically from the internet. Working on a static list of modules and a static list of versions of the modules means less time hunting down unexpected interactions..
However, there is an interesting challenge involved:
Let's say I've got all my modules in a directory, in tarball distributions. How do I then figure out which one require which one? I plan on creating a Makefile that represents the requirements and run that. But how do I figure out what module depends on what module?