Hi all - <br><br>Is process dictionary the only built-in language level facility to return context-dependent data, in Erlang?  e.g., self() returns the "current" process.<br><br>%% hopefully only assign once...<br>
set_current_request(Req) -><br>
  set(current_request, Req).<br><br>%% retrieve the request. <br>
current_request() -><br>  get(current_request).<br><br>Please let me know if there are better ways of accomplishing the goal.<br>Thanks,<br>yc<br><br><br><br>