At 4:52 PM -0700 6/5/02, David Whipp wrote: >As always, most of it is great. so only the niggles get discussed. > >On page 7, the following example is given: > > $oldpos = pos $string; > $string =~ m/... <( .pos == $oldpos )> .../; > >This implies that match position is associated with the string. This worries >me. If 2 threads are matching on the same string (intuitively safe, because >matching is a read-only operation) then both threads may both attempt to set >..pos. This would be unfortunate.
pos is an iterator, and we ought to treat it like iterators on hashes and arrays, i.e. a separate entity from what's being iterated on. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk