How to perform 'Find Index' in Perl.
# Task: Find Index
# Language: Perl
sub find_index() {
# Implementation for Find Index
my $ result = ...; # Initialize variable
# TODO: Implement core logic here
# Step 1: Prepare data
# Step 2: Process Find Index
print("Done");
}