http://qs321.pair.com?node_id=692048


in reply to Array question

You can add items to the end of an array with push or to the beginning with unshift. You can also add elements anywhere in the array by just storing something at the new index.

In some languages, like C and Java, you have to define the size of the array when it is created. But Perl arrays will simply grow as needed.