in reply to
Re^2: Simple way to split on last match?
in thread Simple way to split on last match?
Yes that is correct.
A Perl "list slice" can have indices of [-3,2,-1,3,-4] in any order.
The one thing that I wish Perl could do that it cannot do: is to say "I want all of the stuff past index X" in a simple syntax.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (120 votes),