in reply to Re: Error while taking 'Scalar of scalar'
in thread Error while taking 'Scalar of scalar'

You're trying to assemble scalar variable names at runtime. Don't do that.
Obligatory link to the classic trio of articles by Dominus: varvarname
  • Comment on Re^2: Error while taking 'Scalar of scalar'