|Just another Perl shrine|
Re^3: List::MoreUtils before, after and ... between? ("simple")by LanX (Canon)
|on Feb 22, 2012 at 02:16 UTC||Need Help??|
> it seems likely to me that there could be cases where there is nothing to trim from the front.
Well not clearly phrased in the OP but at least the way the example was coded!
But maybe that's the real bug???
Please notice the word "between" in this thread's title.
> I rejected using 'grep' at all
Maybe you mean mean "grep w/o reverse" ?
... or maybe not ?
Personally, I reject posting solutions for every possible interpretation of a poorly phrased question.
Human discussions are an iterative process.