print "ref($hash->{a})"; #says its an hash reference print "$hash->{a}->{1}" ;#returns 2 as expected print "$hash->{a}{1}"; #also returns 2 ,my question is how without dereferencing the key of $hash->{a} its value is getting displayed?