[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules, require, magic
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 19 Oct 2011 19:49:15 +0200
On Wed, Oct 19, 2011 at 7:34 PM, Philipp Janda <siffiejoe@gmx.net> wrote:
> I still wouldn't use the "module is environment copy" feature, because
> - sometimes I return non-tables from modules (typically functions)
In fact I have some modules that just return strings. But these should
be ok, because this copying only happens when there is no return from
a module - that is, when it's intended to be a 'classic module'
But it's true that we lose flexibility with modules being simple
copies of the environment.
steve d.
- 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, Geoff Leyland
- Re: modules, require, magic, Hisham
- Re: modules, require, magic, steve donovan
- Re: modules, require, magic, steve donovan
- Re: modules, require, magic, Philipp Janda