How are you filling @array?
Dave
In reply to Re^3: Problem with ampersand and regex by davido in thread Problem with ampersand and regex by Anonymous Monk