lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


And autoload is in the PiL book

http://www.lua.org/pil/15.5.html


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Luiz Henrique de
Figueiredo
Sent: 27 June 2006 12:45
To: Lua list
Subject: Re: equivalent of Perl's "AUTOLOAD"

> Yes, you'ld want to look into the __newindex meta method.

No, it's the __index metamethod.