⭐ in reply to How do I create a new array in memory?
You can test this by printing out the array references; they should all have different addresses:while (<>) { my @record = split /,/; my $key = shift @record; $list{$key} = \@record; }
print join "\n", values(%list), '';
|
|---|