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.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (258 votes),