in reply to Determine if array value in string results
An SSCCE would help to explain what form your data is in and what you intend to do with it. See also How to ask better questions using Test::More and sample data for both the how and the why.