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

Reply via email to