Now try with my $test = '';, which is what you had in your original post.
Perhaps you want length instead of defined.
In reply to Re^3: Defined vs ne ""
by ikegami
in thread Defined vs ne ""
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |