[erlang-questions] Help with erl_parse / epp
Fri Dec 11 20:01:19 CET 2009
I don't think that it's possible to extract the chunk from the loaded module, but you can easily get the path to the beam file that was loaded with code:which/1.
Note that some modules are "built-in" (i.e. pre-loaded in Erlang parlance). These modules return the atom 'preloaded', but otherwise, you can easily get that beam file.
On Dec 11, 2009, at 1:57 AM, Brian Candler wrote:
> But is it possible to get this chunk from the from the loaded module, or is
> it too late by that stage?
> BTW, I am running R13B01 as packaged by Ubuntu Karmic.
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions