lua-users home
lua-l archive

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


> Is it possible/desirable for the APR module to add a general purpose
> vararg function called "pack" that collects all its arguments into a table?

function pack(...) return {...} end

>     local table = pack(apr.stat(path))

local table = {apr.stat(path)}

--lhf