@Walter: I don't think Hash has a length member.
@Eric: That will replace *that reference* to the Hash, but any other
references will still refer to the old object. So, for instance, if
the reference has been passed into a function, that will update that
function's reference to point to a new hash
Something like that should do it:
yourHash = $H();
You're affecting a new empty hash to your old hash, which should be
garbage collected by the browser.
Eric
On Mar 29, 8:47 pm, Walter Lee Davis wrote:
> So if you had a hash of N length and you wanted to end up with a hash
> with no members?