delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/15/16:58:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CB8AC14.9020604@veritech.com>
References: <4CB8AC14 DOT 9020604 AT veritech DOT com>
Date: Fri, 15 Oct 2010 22:58:38 +0200
Message-ID: <AANLkTin=CojGWy_R7nfLPnjJMAoO_hRW8f5RvfHQ3qfP@mail.gmail.com>
Subject: Re: Perl Modules?
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Oct 15, 2010 at 9:31 PM, Lee D. Rothstein  wrote:
> =A0* What are the standard paths for Perl Modules on Cygwin?
>
>> Is there a command, environment variable, Perl internal
> =A0 =A0variable, or Perl function that will tell me this?

Perl -V will list the default @INC:
    /usr/lib/perl5/5.10/i686-cygwin
    /usr/lib/perl5/5.10
    /usr/lib/perl5/site_perl/5.10/i686-cygwin
    /usr/lib/perl5/site_perl/5.10
    /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
    /usr/lib/perl5/vendor_perl/5.10
    /usr/lib/perl5/vendor_perl/5.10
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8

Many .pm files can be found in those directories :)

>
> * What are the standard modules installed with Perl?
>
>> Is there a command, environment variable, Perl internal
> =A0 =A0variable, or Perl function that will tell me this?

cygcheck -l perl

will list all the files in the Cygwin package. This list is rather exhausti=
ve.


> * Is there a way to query which Perl modules are installed?
>
>> On cygwin, or off?

perldoc perllocal (which uses
/usr/lib/perl5/5.10/i686-cygwin/perllocal.pod) lists some modules.



HTH,
Csaba
--=20
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv=
alds
"People disagree with me. I just ignore them." -- Linus Torvalds

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019