You might use length and/or the "trueness" of the string if you want to test if it has content at all.if ($string !~ /\S/) { # $string is empty or composed entirely of spaces }
In reply to Re: Handling undefined string content
by Fastolfe
in thread Handling undefined string content
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |