On 03/12/2014 05:14 AM, Alex Chiang wrote:
Thanks for your reply.

I know the built-in index function, but I just can't figure out why it gives me 
the answer I don't expect :D

you shouldn't expect some answer without checking the documentation. index is well documented so you must be looking for a different answer than it returns. read the docs carefully and it should be clear to you what to expect.

uri


--
Uri Guttman - The Perl Hunter
The Best Perl Jobs, The Best Perl Hackers
http://PerlHunter.com

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to