Robert Klemme schrieb:
> You can use Array#zip (block form) to determine any differences.
> 
> ["HINCKLEY", "HINDHEAD", "HINTON ST GEORGE"].zip(t) do |a,b|
>   if a != b
>     print "Difference: ", a.inspect, " ", b.inspect, "\n"
>   end
> end

But note that this doesn't work if the second array contains more 
elements than the first:

   [1].zip [1, 2, 3]  # => [[1, 1]]

It is also problematic if the arrays can contain nil:

   [nil, nil, nil].zip [nil]  # => [[nil, nil], [nil, nil], [nil, nil]]

Regards,
Pit