in reply to Re: join two hashes
in thread join two hashes

Well, it doesn't accomplish your stated goal, storing two values for one key, which is accomplished by storing an array reference

What this does is store one value, a scalar, a string

If this is what you want, then it is correct :)