test is Test=HASH(0x88fbc20) Use of uninitialized value in concatenation (.) or string at test.pl line 9. #expected test getValue after new is test getValue after setValue(1) is 1 test1 is Test=HASH(0x88fbde8) #different than test test1 getValue after new is 1 #wow, test1 "inherited" the value set by the test object test1 getValue after setValue(2) is 2 test getValue after test1->setValue(2) is 2 #and now test sees 2, instead of 1