sorry I didnt give enough information apparently.
Basically i perl script that pulls in data from the user. But I'm trying to write and if statement that will say something like "Hey, you didnt put any data in that box!" So I want to check if the $value is "0" or "blank" give the error, if it has data run the rest of the script.