my @big_array; $#big_array = $ESTIMATED_FINAL_SIZE; # declared at top of program # do stuff here