in reply to Referencing an array
for my $record (@sorted) { print @$record; } # OR for your other request print $sorted[0][2], $sorted[2][1];
Now remove all the $c, $i, $j garbage. You don't need and it's just making your code harder to read. Oh and you might want to remove that chomp @record line if you don't want everything all on one line.
Seeking Green geeks in Minnesota
|
|---|