Reputation: 11782
module_info will tell me quite a bit of what I need to know about a module - provided that I know its name. I have a need to find all modules whose names meet specific criteria (like companyname_creator_serialnumber.) I remember reading somewhere that erlang stores this information, but I am looking for a way to retrieve it.
EDIT:
all_loaded() returns all the modules that have been loaded, but if the module I'm looking for hasn't been referenced yet, it isn't in the all_loaded list.
Upvotes: 16
Views: 7859