X-Recipient: archive-cygwin@delorie.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.9020604@veritech.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@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

