1685 shaares
17 private links
17 private links
my ($day, $mon, $year, $hr, $min, $sec) = (0) x 6;
But that's super annoying because it's necessary to count the number of items:
map { ($_) = 0 } my ($day, $mon, $year, $hr, $min, $sec);
Works as well...