I have the txt file with the column value look like
85806534..85893402
49011742..49029143
114352846..114428174
I want to do the smartmatch. I put thses values into @array[0]
if ($line ~~$array[0]){do something here}
How can I make $array[0] as a number range?
if I split by .. then put the values into array [0] and array [1]
if ($line ~~[$array[0]..$array[1]){....}
this perl code is working for me.