If you want to check if it is undef,then you can use unless or simple else for the above if statement. For inverse of if,you can also use unless.if($scalar) { statements } else { statements }
In reply to Re: scalar values assignment
by nvivek
in thread scalar values assignment
by gogoglou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |