in reply to undef'ing @arrays caveat

You might want to read very carefully the docs for defined: definedness is not a very useful properties for aggregates (= hashes and arrays). I guess the behaviour of undef on them is just the continuation of this.