On Friday, 26 April 2013 at 15:52:02 UTC, Justin Whear wrote:
On Fri, 26 Apr 2013 17:36:31 +0200, eles wrote:

On Friday, 26 April 2013 at 15:34:01 UTC, eles wrote:

Alternatively, a function/variable could be provided inside the module,
returning the module name as a string, so that one could write:

Object.factory(__MODULE__, ".Human");

Instead of modifying the library, why not simply do this yourself?

   Object.factory(__MODULE__ ~ ".Human");

Sorry, this is what I intended to write, just put a comma instead of the tilda operator.

However, I wasn't aware that the __MODULE__ symbol is predefined.

Reply via email to