|
On Jun 11, 2007, at 19:22, Timon Christl wrote:
Note that the manual says the metatable for non-table values can only be changed in C code.
Or through the debug module:debug.setmetatable( nil, { __index = function( self, aKey ) return aKey end } )
print( ( nil ).dwim ) > dwim