Howto check and install missing perl modules...

  • Check if module is installed. Errors mean missing module.
    # perl -MModule::Name -e 1
    
  • See documentation of the module if installed.
    # perldoc Module::Name
    
  • Open CPAN shell:
    # perl -MCPAN -e shell
    
  • To reconfigure the shell if needed.
    cpan>o conf init
    
  • Install an available module.
    cpan> install Module::Name
    
  • Force install if test fails.
    cpan> force install Module::Name
    
  • To manual install perl modules.
    # perl Makefile.PL
    # make
    # make test
    # make install
    

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Useful stuff, thanks

Useful stuff, thanks

Net::Telnet

THANKS a LOT

Comment