in reply to Re: Want a Hashref. Getting a List in Scalar Context.
in thread Want a Hashref. Getting a List in Scalar Context.

There's another semi-common case where this happens, but I can't recall it off hand . . .
Sometime shift is indicated as +shift as hash key to prevent considering it as bare word 'shift' where actually the return value of function shift is intended.
  • Comment on Re: Re: Want a Hashref. Getting a List in Scalar Context.