in reply to Re: install CPAN modules
in thread install CPAN modules

Hi, tnx for reply. When i run the perldoc command i have the following:

root@mpnagios:/# perldoc Net::SMTP You need to install the perl-doc package to use this program. root@mpnagios:/#
But when i run the perl -v it gave me the output what version is perl. So perl is installed and i dont knwo way CPAN dont work ...

Replies are listed 'Best First'.
Re^3: install CPAN modules
by marto (Cardinal) on Sep 30, 2013 at 12:24 UTC

    This is telling you to install perl-doc to use the program perldoc on your system. To do this:

    apt-get install perl-doc

    Or better still read and understand the answer I gave you, or better yet speak to your systems administrator.

Re^3: install CPAN modules
by Happy-the-monk (Canon) on Sep 30, 2013 at 12:28 UTC

    marto gave you the correct answer above.

    I also noticed you are already using aptitude. So do a

    aptitude -y install perl-doc

    ...to get it installed the way you know.

    Cheers, Sören

    Créateur des bugs mobiles - let loose once, run everywhere.
    (hooked on the Perl Programming language)

Re^3: install CPAN modules
by jellisii2 (Hermit) on Sep 30, 2013 at 12:44 UTC
    perl -e "use warnings; use Net::SMTP;"
    If it returns nothing, you have it installed.