On 11.04.2013 12:44, Daniel Gruno wrote:
it's a userdata object, so you can't iterate over the key/value pairs,
you can only access the values directly if you know the key.
I was hoping that its possible to create a table from the userdata with some Lua magic, and then iterate over the table ...

oh, and some more questions:
whats the benefit of having banner(), port() and started() as functions (or methods)?
isnt it fine accessing these like f.e. r.filename?
r:put(r.banner) would be even shorter than r:put(r:banner()) ...

and why is it:
r.module_info(module_name)
and not:
r:module_info(module_name)

??


Reply via email to