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