HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl Modules
Operating System - HP-UX
1829010
Members
2348
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 07:12 AM
05-06-2005 07:12 AM
Perl Modules
How does one find out what perl modules are installed?
perl - what?
Thanks!
perl - what?
Thanks!
Don't fly off the handle when you are full of baloney...
- Tags:
- Perl
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 07:59 AM
05-06-2005 07:59 AM
Re: Perl Modules
Hi,
Typing "perl -V" at a shell prompt will also show you the @INC
directories where perl looks for modules and you can "ls" in those
locations for more information.
Typing "perl -V" at a shell prompt will also show you the @INC
directories where perl looks for modules and you can "ls" in those
locations for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 08:02 AM
05-06-2005 08:02 AM
Re: Perl Modules
No option for that. Best guess is to do
# man perllocal
or
# perldoc local
The latter is (far) more accurate.
This is however no guarantee that the modules installed are still there, because there is no (consistent) way to uninstall modules in perl.
This is also no guarantee to be a *complete* list, since some modules are installed outside of the default perl tree to allow multiple versions living together and depend on $PERL5LIB. Mainly applied to DBD::* where there are multiple database versions on the system that each need their own version of the same module.
If you want a complete list of available modules, either core, or later added, do
# perl -MFile::Find -le'find(sub{/\.pm$/ and$pm{$File::Find::name}++},@INC);print for sort keys%pm'
This also includes all (sub)module files that are included in larger modules like Tk or DBI
Enjoy, Have FUN! H.Merijn
# man perllocal
or
# perldoc local
The latter is (far) more accurate.
This is however no guarantee that the modules installed are still there, because there is no (consistent) way to uninstall modules in perl.
This is also no guarantee to be a *complete* list, since some modules are installed outside of the default perl tree to allow multiple versions living together and depend on $PERL5LIB. Mainly applied to DBD::* where there are multiple database versions on the system that each need their own version of the same module.
If you want a complete list of available modules, either core, or later added, do
# perl -MFile::Find -le'find(sub{/\.pm$/ and$pm{$File::Find::name}++},@INC);print for sort keys%pm'
This also includes all (sub)module files that are included in larger modules like Tk or DBI
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP