Solved

Windows Command

Posted on 2009-04-02
4
210 Views
Last Modified: 2012-05-06
Is there any command on windows to find out what perl modules are installed on a machine?
Thanks.
0
Comment
Question by:bonna
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 250 total points
ID: 24054651
perldoc perllocal

or

ppm query *

0
 
LVL 8

Expert Comment

by:jhurst
ID: 24056297
perl does not "register" what is installed so there could be no reliable way to do this,

when I am concerned that a machine does not have a module that I need I check for that module
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24056670
If you installed them by usual means (ppm, CPAN, etc.) then they are indeed registered, and it is reliable.

As I said, PPM does keep an installed registry, and most people using Windows have ActivePerl and PPM

ppm query *

Or without that, these list, respectively, the modules that came with the Perl distro, and the modules you have added via CPAN or other standard means.

perldoc perlmodlib
perldoc perllocal


0
 
LVL 1

Author Closing Comment

by:bonna
ID: 31566003
Thanks so much.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
perl script help 12 104
PERL export multiple query results to a JSON file 1 167
problem with using the glob function 1 70
Exchange 2010 Transport Rule Regex 28 108
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question