[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules, require, magic
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 19 Oct 2011 15:46:03 -0500
On Wed, Oct 19, 2011 at 3:37 PM, Matthew Wild <mwild1@gmail.com> wrote:
> Agreed. Also if someone doesn't want to change the environment, but
> just use the other features of module() they can simply
>
> local mymodule = module("mymodule")
>
> function mymodule.myfunction()
> end
that's exactly how i'd use that new module()
--
Javier
- References:
- modules, require, magic, Eduardo Ochs
- Re: modules, require, magic, Javier Guerra Giraldez
- Re: modules, require, magic, Petite Abeille
- Re: modules, require, magic, Sam Roberts
- Re: modules, require, magic, David Manura
- Re: modules, require, magic, Hisham
- Re: modules, require, magic, Roberto Ierusalimschy
- Re: modules, require, magic, Fabio Mascarenhas
- Re: modules, require, magic, Roberto Ierusalimschy
- Re: modules, require, magic, Hisham
- Re: modules, require, magic, Roberto Ierusalimschy
- Re: modules, require, magic, Matthew Wild