in reply to Newbie Errors - Uninitialized Values

In your for loops, you iterate from 0 to $max_vector. However, $max_vector is one greater than the index of the last value in @vectorA and the other arrays. Change <= $max_vector to < $max_vector and the warnings will go away.