Well, it's either
if (1 .. $not_default eq '')
or
if (1 .. $not_default eq "\n")
depending on whether he chomps or not (if $_ is coming from a file as I suspect).
In reply to Re^3: Help with range operator
by ikegami
in thread Help with range operator
by unixhome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |