[erlang-questions] Help with erl_parse / epp

Jayson Vantuyl kagato@REDACTED
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.

Good luck.

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.
> 
> Thanks,
> 
> Brian.
> 
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

-- 
Jayson Vantuyl
kagato@REDACTED







More information about the erlang-questions mailing list