<szabgab> rakudo: say index "abcbd", "x"
<p6eval> rakudo ba09b2: OUTPUT«Attempt to index from negative position»
<szabgab> rakudo: index "abcbd", "x"
<p6eval> rakudo ba09b2: ( no output )
<moritz_> it returns a failure object
<moritz_> which throws an exception if used
<Matt-W> ooooh
<Matt-W> and when .Str is called on it, it tells you about the failure?
<masak> rakudo: 1+index("abcbd", "x")
<p6eval> rakudo ba09b2: OUTPUT«Attempt to index from negative position»
<moritz_> but that error message is bogus nonetheless
<Matt-W> it is a strange error message to be produced in that situation
* masak submits rakudobug
pmichaud@orange:~/rakudo$ ./perl6
> say index "abcd", "x"
Substring 'x' not found in 'abcd'
Closing ticket, thanks!
Pm