Perl's index() function finds the first occurrence of a substring, returning the position or -1 if not found. This is the standard Perl function for substring search, making option B correct. Functions like find, locate, and allocate don't exist in Perl for this purpose - rindex() searches from the end, not first occurrence.