lua-users home
lua-l archive

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


> On Mon, Jul 18, 2011 at 6:46 PM, J. A. "Biep" Durieux <rrrs@biep.org> wrote:
>>  - Make package.paths into a table, an array of paths.
>>    - That way ";" loses its special meaning - which is always a good thing.
>>      - One could even free "?" by having an optional entry "pattern='?'" setting the wildcard character.
>>    - It becomes easier to insert or remove paths, or to reorder them.
>>    - It is way more Lua-like.
>>    - It is faster, for no string-parsing is needed to get the indivual patterns.

Also stated in [14].

[14] http://lua-users.org/lists/lua-l/2010-06/msg00214.html