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 <phudson@pobox.com> wrote:
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.