- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the installed perl modules
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-20-2010 06:00 AM
тАО04-20-2010 06:00 AM
How can I find the currently installed perl modules in my hp-ux 11.11i system. I am doing an OS upgrade and need to know which modules are currently installed in my system..?
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 06:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 06:03 AM
тАО04-20-2010 06:03 AM
Re: How to find the installed perl modules
swlist -l fileset | grep -i perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 06:06 AM
тАО04-20-2010 06:06 AM
Re: How to find the installed perl modules
Tim's suggestion will do what you want. Using the standard SD tools ('swlist' in the case) is meaningless for Perl modules.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 06:35 AM
тАО04-20-2010 06:35 AM
Re: How to find the installed perl modules
I am not good in perl and it gives following error.
syntax error in file test at line 2, next 2 tokens "use ExtUtils"
Missing $ on loop variable at test line 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 06:42 AM
тАО04-20-2010 06:42 AM
Re: How to find the installed perl modules
Did you copy-and-paste exactly what Tim offered?
I suspect you didn't and that the script you are running does *not* begin with the correct interpreter line.
The first line of the file should be:
#!/usr/bin/perl
...or:
#!/usr/bin/env perl
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 07:26 AM
тАО04-20-2010 07:26 AM
Re: How to find the installed perl modules
A google search on "perl list modules installed" will be very helpful.
There's a freeware utility called list-modules.pl (also google-searchable) which will generate a web page containing all the installed modules.
I hacked it to get rid of all the html crap as I like command line stuff. It's easy enough to do. If you need it, let me know and I can paste it in for you.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 09:20 PM
тАО04-20-2010 09:20 PM
Re: How to find the installed perl modules
Thanks for the help. That resolve my issue.