lua-users home
lua-l archive

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

Thanks to everyone for the responses!  I did recall the book discussing "autoload" but I don't think it means the same thing in Lua as in Perl, but please correct me if I'm wrong.

On 6/27/06, Paul Hudson <> wrote:
And autoload is in the PiL book

-----Original Message-----
[] On Behalf Of Luiz Henrique de
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.