use strict;
use warnings;
use CPAN;
for ( 'Catalyst::Plugin::Authentication' ) { install ($_)} #doesn't work
#for my $mod ( 'Catalyst::Plugin::Authentication' ) { install ($mod)} #works
####
... blah blah blah...
Removing previously used /home/thartman/.cpan/build/Catalyst-Plugin-Authentication-0.09
CPAN.pm: Going to build N/NU/NUFFIN/Catalyst-Plugin-Authentication-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Catalyst::Plugin::Authentication
Modification of a read-only value attempted at /home/thartman/perlroot/perl/lib/5.8.8/CPAN.pm line 4676.
####
thartman@nbartertest:~/nbarter$ cat ~/perlroot-revert
#!/bin/bash
rm -rf perlroot
tar -xzvf perlroot.tar.gz