|Think about Loose Coupling|
Re: scalar values assignmentby nvivek (Vicar)
|on Apr 09, 2010 at 13:05 UTC||Need Help??|
If you want to check whether that particular scalar is defined or not.You can simply use it in the if statement as follows.
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.