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
- Re: RFC 213 (v1) rindex and index should return undef on... Tom Christiansen
- Re: RFC 213 (v1) rindex and index should return und... Nathan Wiger
- Re: RFC 213 (v1) rindex and index should return und... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should return... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should re... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index shoul... Nathan Torkington
- Re: RFC 213 (v1) rindex and index ... Nathan Torkington
- Re: RFC 213 (v1) rindex and in... Chaim Frenkel
- Re: RFC 213 (v1) rindex an... Glenn Linderman
- Re: RFC 213 (v1) rindex an... John Porter
- Re: RFC 213 (v1) rindex an... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should return... John Porter
- Re: RFC 213 (v1) rindex and index should re... Glenn Linderman
- Re: RFC 213 (v1) rindex and index shoul... Chaim Frenkel