Problem using CPAN/perl

Hi, I'm trying to get SpamAssassin installed (via CPAN) but I'm getting a strange error. Google didn't provide any help. This is a machine which was installed as Solaris 10 01/06, but has since been upgraded (via dvd) to 06/06 and finally 11/06.

# uname -a

SunOS zone4 5.10 Generic_118855-33 i86pc i386 i86pc

#

Here is the error I get:

# perl -MCPAN -e shell

Cannot open >/usr/perl5/5.8.4/lib/CPAN/Config.pm at /usr/perl5/5.8.4/lib/CPAN.pm line 1219

CPAN::Config::_configpmtest('/usr/perl5/5.8.4/lib/CPAN', '/usr/perl5/5.8.4/lib/CPAN/Config.pm') called at /usr/perl5/5.8.4/lib/CPAN.pm line 1253

CPAN::Config::load('CPAN::Config') called at /usr/perl5/5.8.4/lib/CPAN.pm line 92

CPAN::shell() called at -e line 1

#

I appreciate any help/advice you can give! I'm being pummeled by spam, and this seems to be the only solution that won't cost big $$$$.

Thanks,

David

[962 byte] By [monolitha] at [2007-11-26 15:24:50]
# 1
Figured it out. You can't do CPAN shell from inside non-whole-root zones. :)
monolitha at 2007-7-8 21:40:24 > top of Java-index,General,Talk to the Sysop...
# 2
Thanks for the follow-up, you saved me some time :)
StephenAyottea at 2007-7-8 21:40:24 > top of Java-index,General,Talk to the Sysop...