On 11/22/05, ako... <akonsu / gmail.com> wrote:
> yes, this is the point of hashes. in my program, i have attributes with
> names (keys). i want to collect these attributes in to a data
> structure. attributes with the same names form an array. like in a HTTP
> POST form, if you have fields with the same names they are treated as
> an array.

In my opinion it is better to just put all the attributes into an
array (which is what my code does), even the single ones, that way you
can treat all the hashtable entries the same way (since they will all
be arrays.)

Ryan