in reply to Re^3: Using regex with a variable
in thread Using regex with a variable

Sorry for the misunderstanding. Im not assigning $ur with a value in code. It remains constant through out the looping process. And, I cannot exactly paste my code in here, as Im not allowed to. And yes, Im using "use strict" and "use warnings".

Replies are listed 'Best First'.
Re^5: Using regex with a variable
by GrandFather (Saint) on Mar 14, 2016 at 11:00 UTC

    Reduce the problematic code to a short stand alone example that shows the problem. See I know what I mean. Why don't you? for tricks to include sample data. If you need a lot of data, get the test script to generate it.

    We don't need to see your sensitive code or data, but we can't help much with hand wavy descriptions of the problem. We need a good representation of the structure of the code to be able to give good advice.

    Premature optimization is the root of all job security