http://qs321.pair.com?node_id=482734

beth has asked for the wisdom of the Perl Monks concerning the following question:

When, in the course of human events, it becomes necessary to deploy our codebase (several svn checkouts containing perl modules, mod_perl scripts, command-line perl scripts) on a new machine, we usually forget to install some important required module.

How can we obtain a list of perl modules used/required by our codebase? Module::Info says it can get this information, but only for modules and not scripts. perl -c will die only on the *first* used module that is not available (obviously, we are interested in *all* such modules).

What other options do we have? I've been eagerly poking through the Test:: namespace, but have not yet found anything that does what we need.