Because that's how perl works (what did you expect it to do?).
In reply to Re: push undefined and vivification by Anonymous Monk in thread push undefined and vivification by oha