c:m() output to variable

Vlad Dumitrescu <>
Tue Sep 23 15:11:56 CEST 2003


>Does anyone know if there is a way to store the output of c:m() in a variable?
>L = c:m().

No, you can't but the same information can be retrieved by running
    code:all_loaded()
or better
    lists:sort(code:all_loaded())

c:m() just formats this list.

regards,
Vlad



More information about the erlang-questions mailing list