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

A real good answer. And thanks for the fix for my home node too :-).

Update: Have you considered ikegami's answer - Re^2: Can a defined value be of zero length??

And like that ... he's gone. -- Verbal

  • Comment on Re^2: Can a defined value be of zero length?

Replies are listed 'Best First'.
Re^3: Can a defined value be of zero length?
by kcott (Archbishop) on Apr 22, 2014 at 00:29 UTC
    "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

      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