Finding your calling module

Tom Whitcomb thomaswhitcomb@REDACTED
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?

thanks,

tom

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

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 http://channels.netscape.com/ns/search/install.jsp



More information about the erlang-questions mailing list