Jerrad Pierce wrote:
How about using a hash to keep track of which things you've already handled?
That's just the afore-mentioned count
True, I guess, but lots of these uses are the same. In Uri's original
post, "isa" could be considered the same as "sets", and "records" the
same as "data structures".
With a %seen hash, the count is being calculated, but it's not being
used except as a boolean, and it's a fairly common idiom. I'd say
that's a separate use, but of course Uri can judge.
--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC