lua-users home
lua-l archive

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


> What I am saying is that if you do
> 
>     http2 = clone(http)
>     http2.PROXY = "whatever"
> 
> the implementation will still see the first value of PROXY, unless the
> "clone" function is magic. I believe this is a problem, or is it?

What you could be saying is that modules should not export variables,
only constans and functions. (Or, as Asko wrote, they should be
read-only.) There are lots of people who aggree with that idea.

-- Roberto