why not simply: if (not $entry)
Because that would also be false for "0".
if ($entry eq "")
(as you mentioned) works, and so does
if (not length $entry)
(my usual) and
unless (length $entry)
In reply to Re^2: Pls help optomize - ksh version 60% faster!
by ikegami
in thread Pls help optomize - ksh version 60% faster!
by coreolyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |