in reply to Deprecated annoyances

ref now returns an empty string, instead of undef, when its argument is not a reference. Hence expressions like

ref $x eq 'CODE'
don't produce annoying warnings in such cases.

There's a little coding guideline lurking in there somewhere... Something like "never return undef when the empty string would be just as good."

the lowliest monk