How do I initialize a variable based on its type?
How do I initialize a variable in a define type? If
variable = string variable = list variable = boolean
Also when should we use
undef to initialize?
I was using
undef for initialization , irrespective of variable type. Is it a wrong approach ?