use Data::Dumper; my @myArray = (1,2,3); my @myArrofArray = (); push (@myArrofArray, \@myArray); print Dumper(\@myArrofArray);