my %newHash = ("key1","value1","key2","value2"); print scalar %newHash; //scalar method forces scalar context