Finding your calling module

Tom Whitcomb <>
Wed Feb 22 18:04:23 CET 2006

I'm using a callback pattern similar to the approach used in the gen_server.  However, passing the module name around seems error prone and overly bound.  

Can a called function can determine the name of the module of its calling function without passing the module name as a parameter?



Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at

More information about the erlang-questions mailing list