This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to install perl modules?


On Tue, May 24, 2005 at 08:52:02PM -0700, Brian Dessent wrote:
> Manuel Tejada wrote:
> 
> > Somebody can tell me from what URL I must to download
> > a perl module and how to install it in Cygwing?
> 
> You use CPAN.  "perl -MCPAN -e 'install Foo::Bar'" or "perl -MCPAN -e
> shell".  There is no URL to know, it takes care of all of that. 
> http://cpan.org/misc/cpan-faq.html

Note that there's the cpan script also:

install a module:
$ cpan Foo::Bar

or 

start the cpan shell:
$ cpan

To install a module, you'll have to have the make package installed
(by cygwin's setup.exe program; it's in the Devel category).

To install a module with xs components, you'll need at least the gcc
package.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]