GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  Perl
Go To First  |  Previous Question  |  
 Perl  |  Question 61 of 61    Print  
Install Perl module using CPAN
How to install Perl module using CPAN. How to include the module in a program?


  
Total Answers and Comments: 3 Last Update: June 29, 2009     Asked by: Tanu_shree 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 22, 2008 09:03:30   #1  
maityar Member Since: September 2008   Contribution: 1    

RE: Install Perl module using CPAN
Try this command from DOX or UNIX Prompt. You will get a CPAN Prompt. To install a module use install modulename.

perl -MCPAN -e shell

Hope this help.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
May 13, 2009 01:19:22   #2  
dsenthil2003 Member Since: May 2008   Contribution: 1    

RE: Install Perl module using CPAN
Get in to console prompt and follow as below

> CPAN to get the cpan prompt

CPAN > INSTALL <Module > which ask you for the dependency modules if required to get install along with the current. Proceed to yes or enter key module will get installed.

 
Is this answer useful? Yes | No
June 29, 2009 02:36:56   #3  
gireeshkumar.kg Member Since: June 2009   Contribution: 5    

RE: Install Perl module using CPAN
Get in to CPAN shell by

PERL -MCPAN -e shell

cpan> install "packagename"

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape