Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <414167F0.17227265@dessent.net> Date: Fri, 10 Sep 2004 01:38:08 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Perl module download ? References: <007801c496e0$8c695310$9c7ba8c0 AT amer DOT cisco DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Ramneek Singh wrote: > > I need clarification on which modules I need for using perl on cygwin. > I only see perl-libwin32 under system category. Is that all that's > required ? > Its not included in default package. I can select it, but is there > something else > Related to perl somewhere else. I don't see it, but I may have missed > seeing it. It depends on what you want to do. Perl itself comes bundled with a fair number of modules, but if the module you wish to use is not one of these then you'll need to install it yourself. This is done through CPAN, not Cygwin setup.exe. The only reason you see perl-libwin32 as a package in setup.exe is because it's a particularly nasty module to install, which you cannot typically install straight from CPAN as you can most other modules. See "perldoc CPAN.pm" for more info. In general you can test for the presense of module Foo::Bar with: perl -MFoo::Bar -e1 If no error is reported then the module is installed, otherwise you will have to use something along the lines of the following: perl -MCPAN -e 'install Foo::Bar' Brian -- 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/