Perl Create Empty Array Python Methods