I have such a stupid simple question.
I have a variable $key.
I want to test if it has a numeric value between 1 and $buildcount.
I looked at populating an array;
@range = (1 .. $buildcounter);
And using grep to exact match $key within @range. But I cannot get it to exact match. Can anyone point me in the right direction to a solution?
thanks
I have a variable $key.
I want to test if it has a numeric value between 1 and $buildcount.
I looked at populating an array;
@range = (1 .. $buildcounter);
And using grep to exact match $key within @range. But I cannot get it to exact match. Can anyone point me in the right direction to a solution?
thanks