1691 shaares
17 private links
17 private links
4 results
tagged
variable
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...
my ($relpath) = $abspath =~ m#/var/ftp/(.*)$#;