in reply to Re: Scalar dereference error
in thread Scalar dereference error

Thanks a lot. I removed the extra $ & its working fine now.