in reply to size of array

I don't think you're going to gain any efficiency or clarity from declaring it as such. I would just make a comment when you declare the array

#@large will hold a 1000 element list my @large;
rather than
#@large will hold a 1000 element list my @large; $#large = 1000;


Grygonos