Dear Perl monks, I am using cgi to pass some parameters to another script (through a text box). although i've searched a bit for it, I couldn't find a solution to the following problem. I want to check if these values have been passed into a scalar. I am using an if statement and I was thinking something along the lines:
But this doesn't seem to work. does anyone have any suggestions? Thanks in advance for your helpif (defined($scalar)=true){ then .... elseif (defined($scalar)=false){ then... } }
In reply to scalar values assignment by gogoglou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |