in reply to Problem in "any"
In any BLOCK LIST, the thing in the BLOCK needs to be a condition that tests against $_, which is set to each item of the LIST, @line_numbers, until a match is found. Change it to {$_==$li}, I am guessing that's the result you're looking for?
|
|---|