Name "main::d" used only once: possible typo at ./t7.pl line 16. Can't locate object method "user" via package "strict" (perhaps you forgot to load "strict"?) at ./t7.pl line 3.