in reply to Re^2: Help with range operator
in thread Help with range operator

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).