in reply to array initialization
@a = (0) x @a; # every element set to zero [download]
$_ = 0 for @a; [download]
-- Randal L. Schwartz, Perl hacker