[PLUG] scripting CPAN module install.

Russell Johnson russ at dimstar.net
Fri Jan 11 22:11:25 UTC 2013


I am writing a script that auto-installs a bunch of things that I need on several system. The point here is I run the script, and when I come back, everything is installed. Everything is working, except installing a single CPAN module. It's Crypt::SSLeay, which is actually a dependency of the REST::Client module that I require on these systems. It gets to this, and stops to wait for my input:

  CPAN.pm: Going to build N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz

The test suite can attempt to connect to public servers to ensure that the
code is working properly. If you are behind a strict firewall or have no
network connectivity, these tests may fail (through no fault of the code).
Do you want to run the live tests (y/N)? [N] 

I press [ENTER] and it continues. When it's done, everything works as desired, so, for my purposes, any additional testing that would be done seems un-needed. 

How do I get this to just accept the default and continue, without the manual key press?

Russell Johnson
russ at dimstar.net






More information about the PLUG mailing list