# Grab an array reference from Spreadsheet::ParseExcel my $OrigArray = $worksheet->Range("A76:B9107")->{'Value'}; # Iterate through that array reference for (@$OrigArray) { # At this point, the elements in $OrigArray are now each # put into $_. However, $_ seems to, itself, be an array # reference. (I've never used this feature of Spreadsheet::ParseExcel, # but I know the syntax explanation is correct, based on # the code in front of me. print ++$count, ":", join(",", @$_), "\n"; }