in reply to How to skip the prompt fot configuring CPAN.

I did some experimenting with App::cpanminus. I took a cpan script and used cpanm. The script fetchs and installs App::cpanminus, and then it installs all the prerequisites for Moose and Moose itself without the need for cpan. Warning: take a coffee break while Moose installs if you choose to try it:).
#!/usr/bin/perl use strict; use warnings; system("curl -L http://cpanmin.us | perl - App::cpanminus"); exec( "cpanm", "namespace::clean", "namespace::autoclean", "Class::MOP", "Eval::Closure", "Declare::Constraints::Simple", "Package::DeprecationManager", "Sub::Name", "Test::Fatal", "Dist::CheckConflicts", "Data::OptList", "Devel::GlobalDestruction", "List::MoreUtils", "MRO::Compat", "Params::Util", "Scalar::Util", "Sub::Exporter", "Task::Weaken", "Moose", "MooseX::Role::WithOverloading", "Package::Stash::XS", "Package::Stash");
Note: you might need to use --sudo