"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
In reply to Re^3: Can a defined value be of zero length?
by kcott
in thread Can a defined value be of zero length?
by reisinge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |