Jun 21, 2013, 11:15 AM
Do you need/want to check for specific module(s), or do you want to list all of the installed modules.
Re: [dilbert] how to check which perl stuff (modules) is running on my opensuse 12.3
For a single module, you just need to test if it loads.
perl -MHTML::TreeBuilder::LibXML -e 1
If you receive an error, then it isn't installed. If you don't get any output, then it's installed.
If you need to find all modules, you'll need to search for .pm files under the @INC dirs.
(This post was edited by FishMonger on Jun 21, 2013, 11:15 AM)