I've got the following if statement: if($foo !~ /(|\?)/)
It's not working the way I need it to, though. What I'm trying to do is basically get the system to check if $foo is either a 'blank' (empty) variable or if it's value is just a question mark ('?').
Now, how can I represent that empty/blank value in the above statement?