in reply to Re^2: open undef shift
in thread open undef shift

My intention was only to offer another datapoint.

I found it interesting that a lexical scalar initialized to the empty string behaved the same (minus the warning) as a virgin lexical. This behavior seems reasonably explained in ikegami's Re^2: open undef shift above.

Replies are listed 'Best First'.
Re^4: open undef shift
by ikegami (Patriarch) on Oct 04, 2009 at 06:46 UTC

    I found it interesting that a lexical scalar initialized to the empty string behaved the same (minus the warning) as a virgin lexical.

    Why? What file do you expect undef to find when it's not treated specially?

    Seems to me your data point is nothing more what the OP set forth in his question: an initialised scalar isn't treated specially. Thus my explanation.