Arrays - Context In this case, our array only has two things in it: 4 and a cat. There is no third, fifth, sixth or seventh element of our array. So what does Perl do? (4, undef, undef, undef, undef) It returns the elements we do have plus the "undefined value" for the rest. Warnings will alert you if you attempt to use these list elements for something important.