if (length($x || '')) { ... } [download]
In reply to Re: testing defined($x) && length($x) by Bloodnok in thread testing defined($x) && length($x) by perl5ever