in reply to Re^2: Can a defined value be of zero length?
in thread Can a defined value be of zero length?

"Have you considered ikegami's answer ..."

The length v5.10.1 documentation doesn't specifically mention undef but the length v5.12.0 documentation does. (I can't find any mention of this change in any of the deltas for those versions.)

I'm not in a position to test that (I have several versions availble but 5.12.3 is the earliest); however, assuming that's correct, using defined before length would probably be a good idea if using one of those earlier versions.

-- Ken

Replies are listed 'Best First'.
Re^4: Can a defined value be of zero length?
by choroba (Cardinal) on Apr 22, 2014 at 08:33 UTC
    I can't find any mention of this change in any of the deltas
    Check the ninth bullet under Other potentially incompatible changes
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Well, there it is:

      I thought I'd searched for "length" and "undef" on that page (as well as on the delta pages either side of that: 5.10.1 and 5.12.1) — obviously not.

      Thanks for tracking that down. ++

      -- Ken