Not only is memory allocation unnecessary in Perl, but pre-initializing references in your arrays/hashes is also unnecessary as well, due to a nice bit of magic called auto-vivification.
For more info on this, read perldsc and perlref. They have all the answers you are looking for.