in reply to Re^2: Defined vs ne ""in thread Defined vs ne ""
Now try with my $test = '';, which is what you had in your original post.
Perhaps you want length instead of defined.