in reply to Re: slurping into a substring'ed' array
in thread slurping into a substring'ed' array

There's a hidden bug in that example. Try running it with a long list of unique alphas and you'll see what I mean. The problem is that in each map iteration you're only creating one item. In your hash assignment, one item is being assigned to the key, and the next to a value. The result is that some letters are being dropped.


Dave

  • Comment on Re: Re: slurping into a substring'ed' array