I'm trying to test @inlocation to make sure it is not null or filled
in with a space but although I input via ckbox a value, the error msg
is returned. I am not comfortable using the while or the $_.
while (length @inlocation)
{if ($_ eq "" || $_ eq " ")
{
print "Error location is required\n";
}
}
--
-------------------------------
- Teresa Raymond -
- Mariposa Net -
- http://www.mariposanet.com -
-------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]