in reply to Assigning a hash variable to a scalar variable

As bart said, this was already answered in the CB. The obvious counter-question is - exactly why are you doing this?

Perhaps you are confused - perhaps you're looking for a hash reference? Maybe you have an XY Problem?

If bart's answer isn't what you were looking for, then perhaps you've asked the wrong question?

  • Comment on Re: Assigning a hash variable to a scalar variable