in reply to Strict, cant use string as hash ref

Well, you have a string "CPU_USER_jwesvsf7", inside a variable "$hashname", which you are treating as it were a (name of) a hash.

That's a symbolic reference, which 'use strict' prevents you from using.

Either don't use symbolic reference, or disable strict.

  • Comment on Re: Strict, cant use string as hash ref