in reply to Re^2: searching keywords
in thread searching keywords

Where is the "regex()" function declared and what does it do?

if (regex(lc $content,lc $keywords[$i]) != -1) {

Also, what is the input data to your program?

Is the XML part and the download part necessary for your problem or could you maybe show just the relevant data and include that data in the program directly?

Replies are listed 'Best First'.
Re^4: searching keywords
by pdahal (Acolyte) on Feb 28, 2017 at 09:10 UTC
    The input data to my program is the csv file that contains the list of keywords.

      Please provide a small sample of this data set which will allow us to reproduce the problem. See SSCCE for why this is a good thing and how to help others to help you.