in reply to Debugging CPAN problem

On the unit that is to be shipped imminently, CPAN gets 'Killed' - this is the last block of what CPAN prints out:
Killed is printed by the shell after its child process receives a SIGKILL. This looks like it could be the oom-killer's doing. Take a look at dmesg output after the process is killed - you'll see if the crash is due to having ran out of RAM.