- or download this
#!/usr/bin/env perl
...
}
print Dumper(\%data);
- or download this
$ perl timehash1.pl
$VAR1 = {
'1000' => 3,
'1010' => 3
};
- or download this
#!/usr/bin/env perl
...
}
print Dumper(\%data);
- or download this
$ perl timehash2.pl
$VAR1 = {
...
'foo'
]
};
- or download this
while(@times) {
push @{$data{shift @times}}, shift @times;
}