in reply to scalar values assignment
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 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: scalar values assignment
by almut (Canon) on Apr 09, 2010 at 13:19 UTC |