my $h = hlookup(...); # First cell value with arrayref my $first_cell = $h[1]; # First cell value with hashref my $first_cell = $h{first_cell};