in reply to Removing characters
if ($value ne "") { print "the value contains characters\n"; } [download]
if ($value eq "") { print "the value contains no characters\n"; } [download]