in reply to Re: why does
in thread why does

Why is %{{reverse %hash}} a "hash ref" rather than a hash? I understand that the Camel book on pg 246 uses this terminology. But it seems to me that %{{reverse %hash}} is an actual hash.

Replies are listed 'Best First'.
RE: RE: Re: why does
by btrott (Parson) on Aug 29, 2000 at 22:22 UTC
    You're right. The hash reference I was referring to is the intermediate result in that statement, created by
    { reverse %hash }
    That's an anonymous hash reference. The outer brackets not in the above statement then dereference that to create a hash.