- or download this
# today's data -- your starting point
my %SHIPS = (
...
],
# other ships
);
- or download this
use Data::Dumper;
print Data::Dumper::Dumper([\%SHIPS],[*SHIPS]); # save to file, don't
+print
- or download this
my %SHIPS;
do 'dumped_file';
- or download this
while (<$CSV>) {
chomp;
...
$SHIPS{$shipname} = \@arr; # push back
}
# that's you done with the merge