lua-users home
lua-l archive

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


On Wed, Dec 7, 2011 at 19:22, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> I still wonder why package.path/cpath are strings rather than tables...
>
> If you have a table of paths, it's easy to convert it to a string with
>        table.concat(t,";")
>

Sure, but why do you need that one big string at all? Even more
baffling is that Lua then has to split the string every time you call
require(), yet has no string.split method...

-- 
Sent from my toaster.