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