in reply to Re: Converting scalar value to hash
in thread Converting scalar value to hash

to print the value. Is there any optimized code other than this??

For what, what are you trying to do? What do you think that code accomplishes?