in reply to Re^4: Unexpected effect of -w with undef
in thread Unexpected effect of -w with undef

undef, when used as a string, acts like "". "eq" always wants string arguments. Hence, it is not a bug, it is a design. You're saying the same as undef eq "".

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.