in reply to Re^2: delete multiple string blocks
in thread delete multiple string blocks
Sure. Working from the inside out:
Note that grep isn't the most efficient here because it will go on testing even after a match is found. For a short array/list it won't matter much. For a longer array/list you might want List::Util::any instead.
|
|---|