in reply to Re^6: How to check if an array element reference exists or not
in thread How to check if an array element reference exists or not

I'm guessing that the reference is causing this?

What is this guessing?

$ perl -le"print \undef" SCALAR(0x3d5790) $ perl -le"print defined \undef" 1 $ perl -le"print \1" SCALAR(0x3d8284) $ perl -le"print defined \1" 1