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: Perl Modules?


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

cygcheck -l perl

will list all the files in the Cygwin package. This list is rather exhaustive.


> * 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
-- 
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 Torvalds
"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


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