in reply to Use of uninitialized value

You've used diagnostics before, why don't you use them now?