Chaim Frenkel writes: > Removing -1 as a valid result, could be a breakage (if someone is > doing something weird with a negative result) I don't care, so long as the perl526 translator can wrap perl6's index/rindex. And I gave sample code for it to do that. > Would it be reasonable to ask that passing undef into the offset > or start of substr have substr return an undef? Wouldn't you get a warning anyway, if you were treating undef like a number? Nat
- RFC 213 (v1) rindex and index should return undef on f... Perl6 RFC Librarian
- Re: RFC 213 (v1) rindex and index should return u... Tom Christiansen
- Re: RFC 213 (v1) rindex and index should retu... Nathan Wiger
- Re: RFC 213 (v1) rindex and index should return u... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should retu... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should ... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index sho... Nathan Torkington
- Re: RFC 213 (v1) rindex and inde... Chaim Frenkel
- Re: RFC 213 (v1) rindex and ... Nathan Torkington
- Re: RFC 213 (v1) rindex ... Chaim Frenkel
- Re: RFC 213 (v1) rindex ... Glenn Linderman
- Re: RFC 213 (v1) rindex ... John Porter
- Re: RFC 213 (v1) rindex ... Chaim Frenkel
- Re: RFC 213 (v1) rindex ... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should retu... John Porter