Perhaps it's time to create an FAQ at the pike-site. The standard answer to all questions without explicit answer can be "Overload the index operator". ;)
IMHO, overloading the index operator is not always an option. I thinkt it's a way to powerful thing in most cases. I would really like to see some way of adding constants (and programs) anywhere (within a branch) in the namespace. Is there some good reason why this cannot be implemented?
/ Marcus Agehall (PacketFront)
Previous text:
2004-08-30 12:44: Subject: Re: pike modules
Overload indexing of the object.
/ Martin Nilsson (DivX Networks)