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");