develooper Front page | perl.perl6.language | Postings from March 2005

Q: index("Hello", "", 999)

Thread Next
From:
Markus Laire
Date:
March 16, 2005 07:32
Subject:
Q: index("Hello", "", 999)
Message ID:
42385145.9070905@laire.info
What should index("Hello", "", 999) return in perl6?

In perl5 that returns 5, but IMHO -1 would be right result.

-- 
Markus Laire
<Jam. 1:5-6>

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About