perlsaran has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Am trying to play with some perl API (Infloblox) .
It asks to Run CPAN::Site, instead of CPAN.
I installed "CPAN::Site" and its dependancies on sunsolaris
.Please find the below verifications

<verification>
$ uname -a
SunOS acsdem32 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V210
$ perl -v|grep "built"
This is perl, v5.8.8 built for sun4-solaris
$ perl -e 'use CPAN::Site;print "** CPAN::Site module installed successfully **\n";'
** CPAN::Site module installed successfully **
</verification>

When i run CPAN::Site it comes blank without cpan prompt

Actual output


$ sudo perl -MCPAN::Site -e shell
$

*It comes blank and moves to next prompt *

Expected Output


lx> perl -MCPAN::Site -e shell
CPAN: File::HomeDir loaded ok
cpan shell -- CPAN exploration and modules installation (v1.87)
ReadLine support enabled
cpan>

Suggest me how to run CPAN::Site?

Replies are listed 'Best First'.
Re: Run CPAN::Site, instead of CPAN.
by Anonymous Monk on Jul 23, 2010 at 12:49 UTC