What do you mean by "empty scalar"? The empty string? Note that it's a perfect value which you can print, measure its length, match against a regex, etc. Undefined value, on the other hand, means the value is missing. If you need to have a special value for "missing value" for the whole array, use an array reference, and assign undef if the whole array is "undefined".
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
In reply to Re^4: How to differentiate an empty array from an unitialized one?
by choroba
in thread How to differentiate an empty array from an unitialized one?
by iatros
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |